diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 12:44:37 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2009-09-21 12:44:37 +0000 |
commit | c581522b4fcac9edae8e494e213c654612ad4490 (patch) | |
tree | f40c59286e998cdf8e42747ac2da442ce4b1fab7 /bin | |
parent | bda55a1f3cd10f5463228cb882c5b6b67d8937ae (diff) | |
download | portage-c581522b4fcac9edae8e494e213c654612ad4490.tar.gz portage-c581522b4fcac9edae8e494e213c654612ad4490.tar.bz2 portage-c581522b4fcac9edae8e494e213c654612ad4490.zip |
Define basestring as str when Python 3 is used.
svn path=/main/trunk/; revision=14316
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repoman | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman index 330250258..823cdce62 100755 --- a/bin/repoman +++ b/bin/repoman @@ -72,6 +72,9 @@ from portage.output import bold, create_color_func, darkgreen, \ from portage.output import ConsoleStyleFile, StyleWriter from portage.util import cmp_sort_key, writemsg_level +if sys.hexversion >= 0x3000000: + basestring = str + util.initialize_logger() # 14 is the length of DESCRIPTION="" |