summaryrefslogtreecommitdiff
path: root/examples/pysolv
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pysolv')
-rwxr-xr-xexamples/pysolv4
1 files changed, 1 insertions, 3 deletions
diff --git a/examples/pysolv b/examples/pysolv
index a658eab..fe217e1 100755
--- a/examples/pysolv
+++ b/examples/pysolv
@@ -768,9 +768,7 @@ while True:
break
for problem in problems:
print "Problem %d/%d:" % (problem.id, len(problems))
- r = problem.findproblemrule()
- ri = r.info()
- print ri.problemstr()
+ print problem
solutions = problem.solutions()
for solution in solutions:
print " Solution %d:" % solution.id