git_dir check removed
This commit is contained in:
parent
e6691d2c49
commit
a96ad0df9d
1 changed files with 0 additions and 4 deletions
|
@ -48,10 +48,6 @@ class Main(app.App):
|
|||
|
||||
log = logging.getLogger('gitosis.principals')
|
||||
|
||||
if git_dir is None:
|
||||
log.error('Must have GIT_DIR set in enviroment')
|
||||
sys.exit(1)
|
||||
|
||||
if sshUser != "":
|
||||
log.info('Running serve_principal for user %s', sshUser)
|
||||
serve_principal(cfg, sshUser, principals)
|
||||
|
|
Loading…
Reference in a new issue