summaryrefslogtreecommitdiff
path: root/examples/pysolv
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2012-12-06 19:43:56 +0100
committerMichael Schroeder <mls@suse.de>2012-12-06 19:43:56 +0100
commit47e0794d2d6bc11e5c891e42411506ee9162eaa5 (patch)
tree1ceea3041fbdd730e604d42efb50f70e5058b392 /examples/pysolv
parent9471bfc296b72b0317d9408919f6222d16c7c329 (diff)
downloadlibsolv-47e0794d2d6bc11e5c891e42411506ee9162eaa5.tar.gz
libsolv-47e0794d2d6bc11e5c891e42411506ee9162eaa5.tar.bz2
libsolv-47e0794d2d6bc11e5c891e42411506ee9162eaa5.zip
cosmetics: print number of problems in examples
Diffstat (limited to 'examples/pysolv')
-rwxr-xr-xexamples/pysolv2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pysolv b/examples/pysolv
index b6b58ec..d7fc9bd 100755
--- a/examples/pysolv
+++ b/examples/pysolv
@@ -762,7 +762,7 @@ while True:
if not problems:
break
for problem in problems:
- print "Problem %d:" % problem.id
+ print "Problem %d/%d:" % (problem.id, len(problems))
r = problem.findproblemrule()
ri = r.info()
print ri.problemstr()