projects
/
gentoolkit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
072c163
)
package: use print() in PackageFormatter doctest for Python 3 compatibility
author
W. Trevor King
<wking@tremily.us>
Sun, 11 Nov 2012 21:14:13 +0000
(16:14 -0500)
committer
W. Trevor King
<wking@tremily.us>
Sun, 11 Nov 2012 21:19:51 +0000
(16:19 -0500)
pym/gentoolkit/package.py
patch
|
blob
|
history
diff --git
a/pym/gentoolkit/package.py
b/pym/gentoolkit/package.py
index 0b51f4ee6c5ee493db9ad3b9608eb7b13d16ec0b..682c53a0bea0bee90b473ebd6610b9258db51a09 100644
(file)
--- a/
pym/gentoolkit/package.py
+++ b/
pym/gentoolkit/package.py
@@
-425,7
+425,7
@@
class PackageFormatter(object):
... # Only print packages that are installed and from the Portage
... # tree
... if set('IP').issubset(pkg.location):
- ... print
pkg
+ ... print
(pkg)
...
[IP-] [ ] sys-devel/gcc-4.3.2-r3 (4.3)