diff paint/info.py @ 59:acee5e882768

the egg-info tests fail. yay!
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 25 Jan 2013 07:12:33 -0800
parents 13767ee2ddf4
children aa3c90255db6
line wrap: on
line diff
--- a/paint/info.py	Wed Jan 23 16:59:36 2013 -0800
+++ b/paint/info.py	Fri Jan 25 07:12:33 2013 -0800
@@ -101,7 +101,7 @@
     def _pkg_info(self):
         """returns path to PKG-INFO file"""
 
-        if self._pkg_info_path:
+        if getattr(self, '_pkg_info_path', None):
             # return cached value
             return self._pkg_info_path