library/qb_facts.py in qb-0.1.62 vs library/qb_facts.py in qb-0.1.63
- old
+ new
@@ -62,10 +62,10 @@
# depreciated old name
facts[key[3:]] = value
except subprocess.CalledProcessError as e:
pass
- if facts['qb_git_origin_url']:
+ if 'qb_git_origin_url' in facts:
# git@github.com:<owner>/<name>.git
ssh_re = re.compile('^git@github\.com\:(.*)/(.*)\.git$')
# https://github.com/<owner>/<name>.git
https_re = re.compile('^https\://github\.com/(.*)/(.*)\.git$')
\ No newline at end of file