From 50e08a90d5e9fec332603b11cc3ad7e03fe1552c Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Thu, 1 Oct 2015 00:22:11 -0700 Subject: Fix legacy compatibility again --- attoconf/lib/install.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'attoconf/lib/install.py') diff --git a/attoconf/lib/install.py b/attoconf/lib/install.py index 3dc7f5b..26e515c 100644 --- a/attoconf/lib/install.py +++ b/attoconf/lib/install.py @@ -152,8 +152,12 @@ class Install(ClassyProject): self.set_package(package, package_name) def set_package(self, package, package_name): + if package is not None: + assert self.package is None self.package = package self.package_name = package_name + if package is not None: + self._do_jiggle() def general(self): super(Install, self).general() -- cgit v1.2.3-70-g09d2