Skip to content

Commit

Permalink
Merge branch 'requests/github/178' into devel
Browse files Browse the repository at this point in the history
  • Loading branch information
guyzmo committed Feb 3, 2018
2 parents 9249201 + 3ae548f commit fe790c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git_repo/extract_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ def extract_gitrepo_conf(gconf_old, gconf_new):
print("🍻 git-repo configuration extracted to new file: {}".format(gconf_new))

if __name__ == '__main__':
if sys.version_info < (3, ):
sys.exit('Please use with python version 3')
if '-h' in sys.argv or '--help' in sys.argv:
sys.exit('Usage: {} [.gitconfig-repos] [.gitconfig]'.format(sys.argv[0]))
sys.exit(extract_gitrepo_conf(
Expand Down

0 comments on commit fe790c2

Please sign in to comment.