* fix: msg formatz
This commit is contained in:
+2
-2
@@ -446,7 +446,7 @@ def plan_upgrade(A, ignore_build = False):
|
|||||||
Bp.add(str(dep.package))
|
Bp.add(str(dep.package))
|
||||||
G_f.add_dep(x, dep)
|
G_f.add_dep(x, dep)
|
||||||
else:
|
else:
|
||||||
raise Error(_('Dependency %s cannot be satisfied') % rev_dep)
|
raise Error(_('Dependency %s of %s cannot be satisfied') % (dep, x))
|
||||||
B = Bp
|
B = Bp
|
||||||
# now, search reverse dependencies to see if anything
|
# now, search reverse dependencies to see if anything
|
||||||
# should be upgraded
|
# should be upgraded
|
||||||
@@ -468,7 +468,7 @@ def plan_upgrade(A, ignore_build = False):
|
|||||||
if ctx.installdb.is_installed(rev_dep) and \
|
if ctx.installdb.is_installed(rev_dep) and \
|
||||||
(not dependency.installed_satisfies_dep(depinfo)):
|
(not dependency.installed_satisfies_dep(depinfo)):
|
||||||
if not dependency.repo_satisfies_dep(depinfo):
|
if not dependency.repo_satisfies_dep(depinfo):
|
||||||
raise Error(_('Reverse dependency %s cannot be satisfied') % rev_dep)
|
raise Error(_('Reverse dependency %s of %s cannot be satisfied') % (rev_dep, x))
|
||||||
if not rev_dep in G_f.vertices():
|
if not rev_dep in G_f.vertices():
|
||||||
Bp.add(rev_dep)
|
Bp.add(rev_dep)
|
||||||
G_f.add_plain_dep(rev_dep, x)
|
G_f.add_plain_dep(rev_dep, x)
|
||||||
|
|||||||
Reference in New Issue
Block a user