summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Bokovoy <abokovoy@redhat.com>2011-09-13 00:13:10 +0300
committerMartin Kosek <mkosek@redhat.com>2011-09-13 11:36:38 +0200
commit6aa20cdc6f89db497f703dfea71231ebd62be5e7 (patch)
treea9f797ead80e58332f47d5f72c4012557cfffad8
parentd30d5084b95d6b3ed795fdc74d45b887cca304d7 (diff)
downloadfreeipa-6aa20cdc6f89db497f703dfea71231ebd62be5e7.tar.gz
freeipa-6aa20cdc6f89db497f703dfea71231ebd62be5e7.tar.xz
freeipa-6aa20cdc6f89db497f703dfea71231ebd62be5e7.zip
Cleanup whitespace
-rw-r--r--ipalib/plugable.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/ipalib/plugable.py b/ipalib/plugable.py
index 56546bba0..b0e415656 100644
--- a/ipalib/plugable.py
+++ b/ipalib/plugable.py
@@ -625,7 +625,7 @@ class API(DictProxy):
namespace = NameSpace(
plugin_iter(base, (magic[k] for k in magic))
)
- if not production_mode:
+ if not production_mode:
assert not (
name in self.__d or hasattr(self, name)
)
@@ -634,12 +634,12 @@ class API(DictProxy):
for p in plugins.itervalues():
p.instance.set_api(self)
- if not production_mode:
+ if not production_mode:
assert p.instance.api is self
for p in plugins.itervalues():
p.instance.finalize()
- if not production_mode:
+ if not production_mode:
assert islocked(p.instance) is True
object.__setattr__(self, '_API__finalized', True)
tuple(PluginInfo(p) for p in plugins.itervalues())