[sulfur] catch another OperationalError on listAllPackageIds()

This commit is contained in:
Fabio Erculiani
2010-09-15 07:27:31 +02:00
parent bd3f4e421f
commit e6b8fcff81

View File

@@ -898,7 +898,10 @@ class EntropyPackages:
dbconn.validate()
except (RepositoryError, SystemDatabaseError):
continue
idpackages = dbconn.listAllPackageIds()
try:
idpackages = dbconn.listAllPackageIds()
except OperationalError:
continue
matches |= set(((x, repo) for x in idpackages if (x, repo) not in
already_in))