Merge branch 'master' of caffeine:/users/git/public/pyceo
This commit is contained in:
commit
4c1a7f8ee4
|
@ -12,9 +12,8 @@ def start():
|
||||||
library.configure()
|
library.configure()
|
||||||
print "read."
|
print "read."
|
||||||
|
|
||||||
print "Connecting to LDAP...",
|
print "Connecting to LDAP..."
|
||||||
members.connect(AuthCallback())
|
members.connect(AuthCallback())
|
||||||
print "connected."
|
|
||||||
|
|
||||||
if len(sys.argv) == 1:
|
if len(sys.argv) == 1:
|
||||||
ceo.urwid.main.start()
|
ceo.urwid.main.start()
|
||||||
|
@ -30,7 +29,7 @@ def start():
|
||||||
class AuthCallback:
|
class AuthCallback:
|
||||||
def callback(self, error):
|
def callback(self, error):
|
||||||
try:
|
try:
|
||||||
sys.stderr.write("Password: ")
|
print "Password: ",
|
||||||
return getpass("")
|
return getpass("")
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
print ""
|
print ""
|
||||||
|
|
Loading…
Reference in New Issue