We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a66405e commit 3ae548fCopy full SHA for 3ae548f
git_repo/extract_config.py
@@ -24,6 +24,8 @@ def extract_gitrepo_conf(gconf_old, gconf_new):
24
print("🍻 git-repo configuration extracted to new file: {}".format(gconf_new))
25
26
if __name__ == '__main__':
27
+ if sys.version_info < (3, ):
28
+ sys.exit('Please use with python version 3')
29
if '-h' in sys.argv or '--help' in sys.argv:
30
sys.exit('Usage: {} [.gitconfig-repos] [.gitconfig]'.format(sys.argv[0]))
31
sys.exit(extract_gitrepo_conf(
0 commit comments