projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ab5757
)
Make LibraryPackageMap.update() sort the contents of the library_consumers
author
Zac Medico
<zmedico@gentoo.org>
Thu, 21 Feb 2008 09:29:10 +0000
(09:29 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Thu, 21 Feb 2008 09:29:10 +0000
(09:29 -0000)
cache so that it's nice and orderly.
svn path=/main/trunk/; revision=9364
pym/portage/dbapi/vartree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/vartree.py
b/pym/portage/dbapi/vartree.py
index 5d7b0586f4e7f08ba5481f5ecb13f147cc873c7b..f8a945e9ed4a6ebcee7e1faed4eebcb42ed8f7fa 100644
(file)
--- a/
pym/portage/dbapi/vartree.py
+++ b/
pym/portage/dbapi/vartree.py
@@
-162,7
+162,8
@@
class LibraryPackageMap(object):
else:
obj_dict[lib].append(mysplit[0])
mapfile = open(self._filename, "w")
- for lib in obj_dict:
+ for lib in sorted(obj_dict):
+ obj_dict[lib].sort()
mapfile.write(lib+" "+",".join(obj_dict[lib])+"\n")
mapfile.close()