debug
This commit is contained in:
parent
078686cd17
commit
d1e27e536e
2 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ class App(object):
|
|||
self.handle_args(parser, cfg, options, args)
|
||||
|
||||
def setup_basic_logging(self):
|
||||
logging.basicConfig(filename='gitosis.log', level="DEBUG")
|
||||
logging.basicConfig(filename='gitosis.log', level=10)
|
||||
|
||||
def create_parser(self):
|
||||
parser = optparse.OptionParser()
|
||||
|
|
|
@ -36,7 +36,7 @@ def ssh_extract_user(pubkey):
|
|||
if not re.search(r"\s", pubkey):
|
||||
_, user = pubkey.rsplit(None, 1)
|
||||
else:
|
||||
user = pubkey
|
||||
user = pubkey.strip()
|
||||
if ssh.isSafeUsername(user):
|
||||
return user
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue