logging debug
This commit is contained in:
parent
106522cee3
commit
b3f7f15d18
1 changed files with 4 additions and 4 deletions
|
@ -44,16 +44,16 @@ def ssh_extract_user(pubkey):
|
|||
|
||||
def initial_commit(git_dir, cfg, pubkey, user):
|
||||
log.debug('create initial commit')
|
||||
log.info('User:', user)
|
||||
log.debug('pubkey', pubkey)
|
||||
log.info('User: ' + user)
|
||||
log.debug('pubkey: ' + pubkey)
|
||||
if pubkey is None:
|
||||
keyfile = 'keydir/principals'
|
||||
content = user
|
||||
else:
|
||||
keyfile = 'keydir/%s.pub' % user
|
||||
content = pubkey
|
||||
log.debug('keyfile', keyfile)
|
||||
log.debug('content', content)
|
||||
log.debug('keyfile' + keyfile)
|
||||
log.debug('content' + content)
|
||||
repository.fast_import(
|
||||
git_dir=git_dir,
|
||||
commit_msg='Automatic creation of gitosis repository.',
|
||||
|
|
Loading…
Reference in a new issue