diff paint/package.py @ 12:ceb8c69a16f3

dependencies should consume info
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 24 Feb 2012 15:21:28 -0800
parents c41a946d34af
children 0dd1f8f83be2
line wrap: on
line diff
--- a/paint/package.py	Fri Feb 24 15:05:08 2012 -0800
+++ b/paint/package.py	Fri Feb 24 15:21:28 2012 -0800
@@ -73,8 +73,9 @@
     __del__ = cleanup
 
     def info(self):
+        """return info dictionary for package"""
         path = self.path()
         assert os.path.exists(os.path.join(path, 'setup.py'))
 
     def dependencies(self):
-        path = self.path()
+        info = self.info()