diff options
author | 2005-10-04 21:25:28 +0000 | |
---|---|---|
committer | 2005-10-04 21:25:28 +0000 | |
commit | 13d545d2243cd5d8828355c7bbc5cd1f88fe5d74 (patch) | |
tree | e83cf462ffc8a40708a3ff81f36a4af25f4531c3 | |
parent | Added 'rebuild' feature to ebuilddb.py that will rebuild the database but (diff) | |
download | gentoo-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.py | 4 |
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: |