Import getpass from getpass, instead of using getpass.getpass everytime.

This commit is contained in:
Emmanuel Gil Peyrot
2014-08-16 22:37:29 +02:00
committed by Florent Le Coz
parent 882f984b26
commit 67ca2dd0f4
26 changed files with 53 additions and 53 deletions

View File

@@ -11,7 +11,7 @@
import sys
import logging
import getpass
from getpass import getpass
from optparse import OptionParser
try:
@@ -122,7 +122,7 @@ if __name__ == '__main__':
if opts.jid is None:
opts.jid = input("Username: ")
if opts.password is None:
opts.password = getpass.getpass("Password: ")
opts.password = getpass("Password: ")
access_token = None