avoid to unnecessary python instructions ;)

This commit is contained in:
Barış Metin
2006-09-08 12:54:36 +00:00
parent 013a88f080
commit bfc1d887e4
+1 -1
View File
@@ -1371,7 +1371,7 @@ Finds the installed package which contains the specified file.
if files:
for (pkg_name, file_info) in files:
if ctx.config.options.quiet:
ctx.ui.info("%s" % pkg_name)
ctx.ui.info(pkg_name)
else:
ctx.ui.info(_("Package %s has file %s") % (pkg_name, file_info.path))
if ctx.config.options.long: