diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2010-03-08 07:11:32 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2010-03-08 07:11:32 +0000 |
commit | a6abbedf5cae725da4bd215fb00229f04357013b (patch) | |
tree | e3c2ac78d69ad1e323debf4e6cbebfdacb662114 | |
parent | Bug #283077: start on using Manifests to detect changes. (diff) | |
download | packages-3-a6abbedf5cae725da4bd215fb00229f04357013b.tar.gz packages-3-a6abbedf5cae725da4bd215fb00229f04357013b.tar.bz2 packages-3-a6abbedf5cae725da4bd215fb00229f04357013b.zip |
Fix fetch bug.
-rw-r--r-- | dbgenerator/database.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dbgenerator/database.py b/dbgenerator/database.py index 08e6cd1..94ae0e2 100644 --- a/dbgenerator/database.py +++ b/dbgenerator/database.py @@ -282,7 +282,7 @@ class SQLPackageDatabase(object): self.cursor.execute(sql, (cp, )) row = self.cursor.fetchone() if row: - result = (int(row[1]), str(row[2])) + result = (int(row[0]), str(row[1])) return result sql['INSERT_versions'] = """ |