summaryrefslogtreecommitdiff
path: root/logilab/common/shellutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'logilab/common/shellutils.py')
-rw-r--r--logilab/common/shellutils.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/logilab/common/shellutils.py b/logilab/common/shellutils.py
index b9d5fa6..44f34ef 100644
--- a/logilab/common/shellutils.py
+++ b/logilab/common/shellutils.py
@@ -37,9 +37,6 @@ import random
import subprocess
from os.path import exists, isdir, islink, basename, join
-from six import string_types
-from six.moves import range, input as raw_input
-
from logilab.common import STD_BLACKLIST, _handle_blacklist
from logilab.common.compat import str_to_bytes
from logilab.common.deprecation import deprecated
@@ -157,7 +154,7 @@ def find(directory, exts, exclude=False, blacklist=STD_BLACKLIST):
:return:
the list of all matching files
"""
- if isinstance(exts, string_types):
+ if isinstance(exts, str):
exts = (exts,)
if exclude:
def match(filename, exts):
@@ -342,7 +339,7 @@ class progress(object):
class RawInput(object):
def __init__(self, input=None, printer=None):
- self._input = input or raw_input
+ self._input = input
self._print = printer
def ask(self, question, options, default):