summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman3
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=""