diff paint/info.py @ 60:aa3c90255db6

fix minor errors
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 25 Jan 2013 09:58:33 -0800
parents acee5e882768
children 1234bfb1f1f0
line wrap: on
line diff
--- a/paint/info.py	Fri Jan 25 07:12:33 2013 -0800
+++ b/paint/info.py	Fri Jan 25 09:58:33 2013 -0800
@@ -75,7 +75,8 @@
     def _egg_info(self):
         """build the egg_info directory"""
 
-        if self._egg_info_path:
+        # cached result
+        if getattr(self, '_egg_info_path', None):
             return self._egg_info_path
 
         directory = os.path.dirname(self.setup_py)