try/except import are now handled by flake8 2.0+ / pyflakes 0.6+
This commit is contained in:
parent
a1267abfc3
commit
be3e19a203
14 changed files with 17 additions and 17 deletions
|
|
@ -32,7 +32,7 @@ try:
|
|||
except ImportError:
|
||||
PROMPT = '--Press return to continue--'
|
||||
|
||||
def readch(): # NOQA
|
||||
def readch():
|
||||
return sys.stdin.readline()
|
||||
else:
|
||||
PROMPT = '--Press a key to continue--'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue