summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-09-25 18:04:22 +0000
committerZac Medico <zmedico@gentoo.org>2009-09-25 18:04:22 +0000
commite65a4f6ca71bd779b706e8bd83fc82f01ffa3f08 (patch)
tree56e5567961d31453aa74a0202c8a21c41b1b69d3
parent28f70d0feddd9ff95c30af10694694324a6230ce (diff)
downloadportage-e65a4f6ca71bd779b706e8bd83fc82f01ffa3f08.tar.gz
portage-e65a4f6ca71bd779b706e8bd83fc82f01ffa3f08.tar.bz2
portage-e65a4f6ca71bd779b706e8bd83fc82f01ffa3f08.zip
Make sure self._allowed_keys are sorted in the table create statement. They
already are sorted, but do it explicitly here for clarity. svn path=/main/trunk/; revision=14430
-rw-r--r--pym/portage/cache/sqlite.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage/cache/sqlite.py b/pym/portage/cache/sqlite.py
index 1ac6f1ffe..0c23a78ae 100644
--- 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"] + \
- self._allowed_keys
+ sorted(self._allowed_keys)
cursor = self._db_cursor
for k, v in self._db_table.items():