Skip to content

Commit

Permalink
Merge e1788d9 into 03d6d01
Browse files Browse the repository at this point in the history
  • Loading branch information
randy3k committed Aug 15, 2018
2 parents 03d6d01 + e1788d9 commit ea638c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions github/github.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def remote_to_url(remote):
elif remote.startswith("http"):
return remote
else:
util.log_error('Cannot parse remote "%s" to url' % remote)
util.debug.log_error('Cannot parse remote "%s" to url' % remote)
return None


Expand All @@ -66,7 +66,7 @@ def parse_remote(remote):
match = re.match(r"https?://([a-zA-Z-\.0-9]+)/([a-zA-Z-\._0-9]+)/([a-zA-Z-\._0-9]+)/?", url)

if not match:
util.log_error('Invalid github url: %s' % url)
util.debug.log_error('Invalid github url: %s' % url)
return None

fqdn, owner, repo = match.groups()
Expand Down
2 changes: 1 addition & 1 deletion gitlab/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def parse_remote(remote):
match = re.match(r"https?://([a-zA-Z-\.0-9]+)/([a-zA-Z-\._0-9]+)/([a-zA-Z-\._0-9]+)/?", url)

if not match:
util.log_error('Invalid gitlab url: %s' % url)
util.debug.log_error('Invalid gitlab url: %s' % url)
return None

fqdn, owner, repo = match.groups()
Expand Down

0 comments on commit ea638c4

Please sign in to comment.