From a1a9de99349364843e3427529e979725af19c350 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Sun, 11 Nov 2012 16:14:13 -0500 Subject: [PATCH] package: use print() in PackageFormatter doctest for Python 3 compatibility --- pym/gentoolkit/package.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.26.2