aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBrian Harring <ferringb@gmail.com>2006-05-24 12:25:28 -0700
committerBrian Harring <ferringb@gmail.com>2006-05-24 12:25:28 -0700
commitb7154e0a38fd5b1f1a3e4e61061f3eb6fabea23d (patch)
treea2062f76e43ef007f3470cb2eda6d9b6128e5e64 /bin
parentCPV fixup for the tightened restrictions... (diff)
downloadpkgcore-b7154e0a38fd5b1f1a3e4e61061f3eb6fabea23d.tar.gz
pkgcore-b7154e0a38fd5b1f1a3e4e61061f3eb6fabea23d.tar.bz2
pkgcore-b7154e0a38fd5b1f1a3e4e61061f3eb6fabea23d.zip
yield all involved pkgs, and display 'em appropriately
Diffstat (limited to 'bin')
-rw-r--r--bin/tests/test_resolver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/tests/test_resolver.py b/bin/tests/test_resolver.py
index e1abbe41..19750a57 100644
--- a/bin/tests/test_resolver.py
+++ b/bin/tests/test_resolver.py
@@ -93,7 +93,7 @@ if __name__ == "__main__":
print "resolution failed"
sys.exit(2)
print "\nbuildplan"
- for x in resolver.state.iter_pkg_ops():
- print "%s %s" % (x[0].ljust(8), x[1])
+ for op, pkgs in resolver.state.iter_pkg_ops():
+ print "%s %s" % (op.ljust(8), ", ".join(str(y) for y in reversed(pkgs)))
print "result was successfull, 'parently- took %.2f seconds" % (time.time() - start_time)