* fix: msg formatz

This commit is contained in:
Eray Özkural
2006-05-08 10:33:01 +00:00
parent 46472e47cb
commit 3a738a6ead
+2 -2
View File
@@ -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)