Remove print() usage. (trunk r15495)
authorZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:09:35 +0000 (21:09 -0000)
committerZac Medico <zmedico@gentoo.org>
Tue, 2 Mar 2010 21:09:35 +0000 (21:09 -0000)
svn path=/main/branches/2.1.7/; revision=15696

pym/portage/dbapi/bintree.py

index cdc702e413370f168f6d151cea56ca2fb0ad338c..0821b7e55ccd714ea7c9049b6bc57b26954b1f95 100644 (file)
@@ -2,8 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-from __future__ import print_function
-
 __all__ = ["bindbapi", "binarytree"]
 
 import portage
@@ -865,7 +863,6 @@ class binarytree(object):
                                mykey = portage.cpv_getkey(fullpkg)
                                try:
                                        # invalid tbz2's can hurt things.
-                                       #print "cpv_inject("+str(fullpkg)+")"
                                        self.dbapi.cpv_inject(fullpkg)
                                        remote_metadata = self.__remotepkgs[mypkg]
                                        for k, v in remote_metadata.items():
@@ -882,7 +879,6 @@ class binarytree(object):
                                                remote_metadata.pop(k, None)
 
                                        self._remotepkgs[fullpkg] = remote_metadata
-                                       #print "  -- Injected"
                                except SystemExit as e:
                                        raise
                                except:
@@ -1148,7 +1144,6 @@ class binarytree(object):
        def gettbz2(self, pkgname):
                """Fetches the package from a remote site, if necessary.  Attempts to
                resume if the file appears to be partially downloaded."""
-               print("Fetching '"+str(pkgname)+"'")
                tbz2_path = self.getname(pkgname)
                tbz2name = os.path.basename(tbz2_path)
                resume = False