sarı gelin aman sarııı gellin

This commit is contained in:
S.Çağlar Onur
2007-05-24 11:23:38 +00:00
parent 17d21df1b7
commit 83ef498c73
+2 -2
View File
@@ -493,7 +493,7 @@ def upgrade_pkg_names(A = []):
paths = [] paths = []
for x in order: for x in order:
ctx.ui.info(_("Downloading %d / %d") % (order.index(x)+1, len(order))) ctx.ui.info(util.colorize(_("Downloading %d / %d") % (order.index(x)+1, len(order)), "yellow"))
install_op = atomicoperations.Install.from_name(x) install_op = atomicoperations.Install.from_name(x)
paths.append(install_op.package_fname) paths.append(install_op.package_fname)
@@ -506,7 +506,7 @@ def upgrade_pkg_names(A = []):
remove_conflicting_packages(conflicts) remove_conflicting_packages(conflicts)
for path in paths: for path in paths:
ctx.ui.info(_("Installing %d / %d") % (paths.index(path)+1, len(paths))) ctx.ui.info(util.colorize(_("Installing %d / %d") % (paths.index(path)+1, len(paths)), "yellow"))
install_op = atomicoperations.Install(path, ignore_file_conflicts = True) install_op = atomicoperations.Install(path, ignore_file_conflicts = True)
install_op.install(True) install_op.install(True)