From 6aa20cdc6f89db497f703dfea71231ebd62be5e7 Mon Sep 17 00:00:00 2001 From: Alexander Bokovoy Date: Sep 13 2011 09:36:38 +0000 Subject: Cleanup whitespace --- diff --git a/ipalib/plugable.py b/ipalib/plugable.py index 56546bb..b0e4156 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())