mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 1142609 - Fix PEP 8 E125 warnings in dom/bindings's Python code. r=peterv
--HG-- extra : rebase_source : 42e62e728c77fe3be68f7ca97b83490a57e447e6
This commit is contained in:
parent
f8573e51c5
commit
561b910c78
@ -148,8 +148,8 @@ class WebIDLCodegenManager(LoggingMixin):
|
||||
}
|
||||
|
||||
def __init__(self, config_path, inputs, exported_header_dir,
|
||||
codegen_dir, state_path, cache_dir=None, make_deps_path=None,
|
||||
make_deps_target=None):
|
||||
codegen_dir, state_path, cache_dir=None, make_deps_path=None,
|
||||
make_deps_target=None):
|
||||
"""Create an instance that manages WebIDLs in the build system.
|
||||
|
||||
config_path refers to a WebIDL config file (e.g. Bindings.conf).
|
||||
@ -186,7 +186,7 @@ class WebIDLCodegenManager(LoggingMixin):
|
||||
self._make_deps_target = make_deps_target
|
||||
|
||||
if (make_deps_path and not make_deps_target) or (not make_deps_path and
|
||||
make_deps_target):
|
||||
make_deps_target):
|
||||
raise Exception('Must define both make_deps_path and make_deps_target '
|
||||
'if one is defined.')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user