diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2015-10-01 00:22:11 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2015-10-01 00:22:11 -0700 |
commit | 50e08a90d5e9fec332603b11cc3ad7e03fe1552c (patch) | |
tree | 9292e7bc86ac655afe562b45f9a76a1da4de57a4 /attoconf/classy.py | |
parent | 621af313a8dfe46df159766fbe158af5dd8cb6ad (diff) | |
download | attobuild-50e08a90d5e9fec332603b11cc3ad7e03fe1552c.tar.gz attobuild-50e08a90d5e9fec332603b11cc3ad7e03fe1552c.tar.bz2 attobuild-50e08a90d5e9fec332603b11cc3ad7e03fe1552c.tar.xz attobuild-50e08a90d5e9fec332603b11cc3ad7e03fe1552c.zip |
Fix legacy compatibility again
Diffstat (limited to 'attoconf/classy.py')
-rw-r--r-- | attoconf/classy.py | 4 |
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 |