summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlbert Hopkins <marduk@gentoo.org>2005-10-04 21:25:28 +0000
committerAlbert Hopkins <marduk@gentoo.org>2005-10-04 21:25:28 +0000
commit13d545d2243cd5d8828355c7bbc5cd1f88fe5d74 (patch)
treee83cf462ffc8a40708a3ff81f36a4af25f4531c3
parentAdded 'rebuild' feature to ebuilddb.py that will rebuild the database but (diff)
downloadgentoo-13d545d2243cd5d8828355c7bbc5cd1f88fe5d74.tar.gz
gentoo-13d545d2243cd5d8828355c7bbc5cd1f88fe5d74.tar.bz2
gentoo-13d545d2243cd5d8828355c7bbc5cd1f88fe5d74.zip
Fixed type in create_ebuild_record() that would cause the SQL query to blow
chunks.
-rw-r--r--src/packages/util/ebuilddb.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/packages/util/ebuilddb.py b/src/packages/util/ebuilddb.py
index 78230e5955..c9fa6a1693 100644
--- a/src/packages/util/ebuilddb.py
+++ b/src/packages/util/ebuilddb.py
@@ -101,8 +101,8 @@ def create_ebuild_record(db, ebinfo):
# then add particular ebuild
try:
d.execute('INSERT INTO ebuild VALUES (%(category)s, %(name)s, %(version)s,'
- '%(time)s, %(archs)s, %(changelog)s, "", %(masked)s, %(license)s),'
- '%(iuse)s', ebinfo)
+ '%(time)s, %(archs)s, %(changelog)s, "", %(masked)s, %(license)s,'
+ '%(iuse)s)', ebinfo)
d.execute('INSERT INTO deps VALUES (%(category)s, %(name)s, %(version)s,'
'%(depend)s, %(rdepend)s, %(pdepend)s)', ebinfo)
except MySQLdb.MySQLError, data: