diff options
author | Brian Harring <ferringb@gmail.com> | 2006-05-24 12:25:28 -0700 |
---|---|---|
committer | Brian Harring <ferringb@gmail.com> | 2006-05-24 12:25:28 -0700 |
commit | b7154e0a38fd5b1f1a3e4e61061f3eb6fabea23d (patch) | |
tree | a2062f76e43ef007f3470cb2eda6d9b6128e5e64 /bin | |
parent | CPV fixup for the tightened restrictions... (diff) | |
download | pkgcore-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.py | 4 |
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) |