aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2007-10-23 18:26:31 +0200
committerMarkus Ullmann <jokey@gentoo.org>2007-10-23 18:26:31 +0200
commitae63edc16c40ed5262a8d5b6452b048c9e1ad37f (patch)
treeaebc6423b5fcfe564d595f85ecab7609fcce517d /dbgenerator
parentPylint cleanup. (diff)
downloadpackages-3-ae63edc16c40ed5262a8d5b6452b048c9e1ad37f.tar.gz
packages-3-ae63edc16c40ed5262a8d5b6452b048c9e1ad37f.tar.bz2
packages-3-ae63edc16c40ed5262a8d5b6452b048c9e1ad37f.zip
ignore -* in db generator
Diffstat (limited to 'dbgenerator')
-rw-r--r--dbgenerator/database.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/dbgenerator/database.py b/dbgenerator/database.py
index aafbb71..d602b63 100644
--- a/dbgenerator/database.py
+++ b/dbgenerator/database.py
@@ -170,6 +170,8 @@ class SQLPackageDatabase(object):
self.cursor.execute(sql1, (cpv, ))
sql2 = self.sql['INSERT_keywords']
for arch in keyword_dict.keys():
+ if arch is "*":
+ continue
a = self.find_arch(arch)
if a is None:
msg = 'arch:%s for %s/%s-%s does not exist' \