# HG changeset patch # User Jeff Hammel # Date 1359136713 28800 # Node ID aa3c90255db6cdbdaf70603b34454d11cdb6580f # Parent acee5e882768bd176ace219c2277898afb0e8841 fix minor errors diff -r acee5e882768 -r aa3c90255db6 paint/info.py --- 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)