Thanks to visit codestin.com Credit goes to github.com
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 12106c6 commit 2db87caCopy full SHA for 2db87ca
git-pull-request
@@ -55,7 +55,8 @@ def main():
55
origin = os.popen('git remote -v').read()
56
m = re.search('^origin.*?github\.com.*?[:/]([^/]+/[^/]+)\.git\s*\(fetch\)$',origin,re.MULTILINE)
57
if(m == None or m.group(1) == ''):
58
- print color_text("Failed to determine repo name from origin",'red',True)
+ print color_text("Failed to determine github repo name from origin",'red',True)
59
+ sys.exit(1)
60
repo = m.group(1)
61
62
# process arguments
0 commit comments