code reviewing part 2

This commit is contained in:
Miroslav Stampar
2011-01-15 12:53:40 +00:00
parent 6a0e0cde3c
commit 1fa8f0cba7
9 changed files with 13 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ class CompleterNG(rlcompleter.Completer):
def autoCompletion(sqlShell=False, osShell=False):
# First of all we check if the readline is available, by default
# it is not in Python default installation on Windows
if not readline.haveReadline:
if not readline._readline:
return
if sqlShell: