HomeSort by relevance Sort by last modified time
    Searched refs:allowed_imports (Results 1 - 2 of 2) sorted by null

  /external/chromium-trace/catapult/telemetry/third_party/webpagereplay/
rules_parser.py 41 def __init__(self, file_obj=None, allowed_imports=None):
46 allowed_imports: A set of strings, defaults to {'rules'}.
49 if allowed_imports is None:
50 allowed_imports = {'rules'}
51 self._rules = [] if file_obj is None else _Load(file_obj, allowed_imports)
122 def _Load(file_obj, allowed_imports):
127 allowed_imports: a sequence of strings, e.g.: {'rules'}.
154 if '*' not in allowed_imports and modulename not in allowed_imports:
155 raise Error('%s: Package %r is not in allowed_imports', i, modulename
    [all...]
replay.py 120 allowed_imports = [
122 rules = rules_parser.Rules(file_obj, allowed_imports)

Completed in 487 milliseconds