Mercurial > hg > PaInt
comparison 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 |
comparison
equal
deleted
inserted
replaced
| 59:acee5e882768 | 60:aa3c90255db6 |
|---|---|
| 73 return info_dict | 73 return info_dict |
| 74 | 74 |
| 75 def _egg_info(self): | 75 def _egg_info(self): |
| 76 """build the egg_info directory""" | 76 """build the egg_info directory""" |
| 77 | 77 |
| 78 if self._egg_info_path: | 78 # cached result |
| 79 if getattr(self, '_egg_info_path', None): | |
| 79 return self._egg_info_path | 80 return self._egg_info_path |
| 80 | 81 |
| 81 directory = os.path.dirname(self.setup_py) | 82 directory = os.path.dirname(self.setup_py) |
| 82 | 83 |
| 83 # setup the egg info | 84 # setup the egg info |
