aboutsummaryrefslogtreecommitdiff
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 /pym/gentoolkit/package.py
parentpackage: change "f" -> "path" to avoid pylint C0103 (Invalid name "f") (diff)
downloadgentoolkit-a1a9de99349364843e3427529e979725af19c350.tar.gz
gentoolkit-a1a9de99349364843e3427529e979725af19c350.tar.bz2
gentoolkit-a1a9de99349364843e3427529e979725af19c350.zip
package: use print() in PackageFormatter doctest for Python 3 compatibility
Diffstat (limited to 'pym/gentoolkit/package.py')
-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)