projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28f70d0
)
Make sure self._allowed_keys are sorted in the table create statement. They
author
Zac Medico
<zmedico@gentoo.org>
Fri, 25 Sep 2009 18:04:22 +0000
(18:04 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 25 Sep 2009 18:04:22 +0000
(18:04 -0000)
already are sorted, but do it explicitly here for clarity.
svn path=/main/trunk/; revision=14430
pym/portage/cache/sqlite.py
patch
|
blob
|
history
diff --git
a/pym/portage/cache/sqlite.py
b/pym/portage/cache/sqlite.py
index 1ac6f1ffee49606d4089374042ae4d851ddfbf1a..0c23a78ae37239e8278fc39a94ec7bad6f6ec2b5 100644
(file)
--- a/
pym/portage/cache/sqlite.py
+++ b/
pym/portage/cache/sqlite.py
@@
-103,7
+103,7
@@
class database(fs_template.FsBased):
self._db_table["packages"]["create"] = " ".join(create_statement)
self._db_table["packages"]["columns"] = \
self._db_table["packages"]["internal_columns"] + \
- s
elf._allowed_keys
+ s
orted(self._allowed_keys)
cursor = self._db_cursor
for k, v in self._db_table.items():