Mercurial > hg > PaInt
comparison paint/package.py @ 20:11bc01a089e7
return only the dictionary
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 27 Feb 2012 13:10:18 -0800 |
parents | c54db80d6e7f |
children | 4df3e715817d |
comparison
equal
deleted
inserted
replaced
19:c54db80d6e7f | 20:11bc01a089e7 |
---|---|
138 assert ':' in line | 138 assert ':' in line |
139 key, value = [i.strip() for i in line.split(':', 1)] | 139 key, value = [i.strip() for i in line.split(':', 1)] |
140 info_dict[key] = value | 140 info_dict[key] = value |
141 | 141 |
142 # return the information | 142 # return the information |
143 return info_dict['Name'], dependencies | 143 return info_dict |
144 | 144 |
145 def dependencies(self): | 145 def dependencies(self): |
146 """return the dependencies""" | 146 """return the dependencies""" |
147 | 147 |
148 egg_info = self.egg_info() | 148 egg_info = self.egg_info() |