aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 11:08:30 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2009-09-20 11:08:30 +0000
commit15b8a5bbdf3fb81edc6eac707bd2bd78d54394cf (patch)
treedbb60d5bbf670f1872539fca80263f17352f5c26 /pym/portage/eclass_cache.py
parentUpdate syntax of 'except' statements for compatibility with Python 3. (diff)
downloadportage-15b8a5bbdf3fb81edc6eac707bd2bd78d54394cf.tar.gz
portage-15b8a5bbdf3fb81edc6eac707bd2bd78d54394cf.tar.bz2
portage-15b8a5bbdf3fb81edc6eac707bd2bd78d54394cf.zip
Update syntax of calls to print() for compatibility with Python 3.
(2to3-3.1 -f print -nw ${FILES}) svn path=/main/trunk/; revision=14290
Diffstat (limited to 'pym/portage/eclass_cache.py')
-rw-r--r--pym/portage/eclass_cache.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/eclass_cache.py b/pym/portage/eclass_cache.py
index e0b9383c5..30b83ea3d 100644
--- a/pym/portage/eclass_cache.py
+++ b/pym/portage/eclass_cache.py
@@ -61,13 +61,13 @@ class cache(object):
def close_caches(self):
import traceback
traceback.print_stack()
- print "%s close_cache is deprecated" % self.__class__
+ print("%s close_cache is deprecated" % self.__class__)
self.eclasses.clear()
def flush_cache(self):
import traceback
traceback.print_stack()
- print "%s flush_cache is deprecated" % self.__class__
+ print("%s flush_cache is deprecated" % self.__class__)
self.update_eclasses()