logger->logging
This commit is contained in:
parent
4dcd1f3d8c
commit
5fe6c8b0d4
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class Main(app.App):
|
|||
user = ssh_extract_user(pubkey)
|
||||
if not re.search(r"\s", pubkey):
|
||||
pubkey = None
|
||||
logger.debug("pubkey: %s", pubkey)
|
||||
logging.debug("pubkey: %s", pubkey)
|
||||
if user is None:
|
||||
log.error('Cannot parse user from SSH public key.')
|
||||
sys.exit(1)
|
||||
|
|
Loading…
Reference in a new issue