summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-11-11 16:14:13 -0500
committerW. Trevor King <wking@tremily.us>2012-11-11 16:19:51 -0500
commita1a9de99349364843e3427529e979725af19c350 (patch)
treeccb561b64db892bce6fb522c30ac5354f37c34b2
parent072c1634e4a041f64e0e7e135926c6ce710f0731 (diff)
downloadgentoolkit-a1a9de99349364843e3427529e979725af19c350.tar.gz
package: use print() in PackageFormatter doctest for Python 3 compatibility
-rw-r--r--pym/gentoolkit/package.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py
index 0b51f4e..682c53a 100644
--- 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)