summaryrefslogtreecommitdiff
path: root/attoconf/classy.py
diff options
context:
space:
mode:
Diffstat (limited to 'attoconf/classy.py')
-rw-r--r--attoconf/classy.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/attoconf/classy.py b/attoconf/classy.py
index ba06fcc..59a62e1 100644
--- a/attoconf/classy.py
+++ b/attoconf/classy.py
@@ -38,7 +38,9 @@ class PolymorphicSlotMergerMetaclass(type):
# TODO: remove *args for 1.0
def __call__(cls, *args, **kwargs):
instance = type.__call__(cls, *args, **kwargs)
- instance._do_jiggle()
+ if 'package' in kwargs or not isinstance(instance,
+ __import__('attoconf.lib.install', fromlist=['Install']).Install):
+ instance._do_jiggle()
return instance