From: Zac Medico Date: Fri, 25 Sep 2009 18:04:22 +0000 (-0000) Subject: Make sure self._allowed_keys are sorted in the table create statement. They X-Git-Tag: v2.2_rc42~3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e65a4f6ca71bd779b706e8bd83fc82f01ffa3f08;p=portage.git 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 --- 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():