mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-24 03:45:38 +08:00
bugfix on error path
This commit is contained in:
@@ -281,7 +281,7 @@ def get_url_type(url):
|
||||
|
||||
if len(urlpath_parts) != 2:
|
||||
log.error("Invalid URL {}".format(url))
|
||||
return None
|
||||
return None, None
|
||||
|
||||
if urlpath_parts[0] == 'blockstack':
|
||||
return ('blockstack', urlpath_parts[1])
|
||||
|
||||
Reference in New Issue
Block a user