1 |
Author: zmedico |
2 |
Date: 2008-02-21 09:29:10 +0000 (Thu, 21 Feb 2008) |
3 |
New Revision: 9364 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/portage/dbapi/vartree.py |
7 |
Log: |
8 |
Make LibraryPackageMap.update() sort the contents of the library_consumers |
9 |
cache so that it's nice and orderly. |
10 |
|
11 |
|
12 |
Modified: main/trunk/pym/portage/dbapi/vartree.py |
13 |
=================================================================== |
14 |
--- main/trunk/pym/portage/dbapi/vartree.py 2008-02-21 08:04:33 UTC (rev 9363) |
15 |
+++ main/trunk/pym/portage/dbapi/vartree.py 2008-02-21 09:29:10 UTC (rev 9364) |
16 |
@@ -162,7 +162,8 @@ |
17 |
else: |
18 |
obj_dict[lib].append(mysplit[0]) |
19 |
mapfile = open(self._filename, "w") |
20 |
- for lib in obj_dict: |
21 |
+ for lib in sorted(obj_dict): |
22 |
+ obj_dict[lib].sort() |
23 |
mapfile.write(lib+" "+",".join(obj_dict[lib])+"\n") |
24 |
mapfile.close() |
25 |
|
26 |
|
27 |
-- |
28 |
gentoo-commits@l.g.o mailing list |