Entropy/EquoInterface:
- filterSatisfiedDependencies(): give up if the repo db is broken git-svn-id: http://svn.sabayonlinux.org/projects/entropy/trunk@2717 cd1c1023-2f26-0410-ae45-c471fc1f0318
This commit is contained in:
@@ -2051,9 +2051,14 @@ class EquoInterface(TextInterface):
|
||||
repoMatch = self.atomMatch(dependency)
|
||||
if repoMatch[0] != -1:
|
||||
dbconn = self.openRepositoryDatabase(repoMatch[1])
|
||||
repo_pkgver = dbconn.retrieveVersion(repoMatch[0])
|
||||
repo_pkgtag = dbconn.retrieveVersionTag(repoMatch[0])
|
||||
repo_pkgrev = dbconn.retrieveRevision(repoMatch[0])
|
||||
try:
|
||||
repo_pkgver = dbconn.retrieveVersion(repoMatch[0])
|
||||
repo_pkgtag = dbconn.retrieveVersionTag(repoMatch[0])
|
||||
repo_pkgrev = dbconn.retrieveRevision(repoMatch[0])
|
||||
except self.dbapi2.InterfaceError:
|
||||
# package entry is broken
|
||||
unsatisfiedDeps.add(dependency)
|
||||
continue
|
||||
else:
|
||||
# dependency does not exist in our database
|
||||
unsatisfiedDeps.add(dependency)
|
||||
|
||||
Reference in New Issue
Block a user