package: use print() in PackageFormatter doctest for Python 3 compatibility
authorW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 21:14:13 +0000 (16:14 -0500)
committerW. Trevor King <wking@tremily.us>
Sun, 11 Nov 2012 21:19:51 +0000 (16:19 -0500)
pym/gentoolkit/package.py

index 0b51f4ee6c5ee493db9ad3b9608eb7b13d16ec0b..682c53a0bea0bee90b473ebd6610b9258db51a09 100644 (file)
@@ -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)