1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

another fix for None in name

This commit is contained in:
Brian Coca 2016-07-05 15:33:09 -04:00 committed by Matt Clay
parent c871f488eb
commit 506e6ff2e2

View file

@ -368,6 +368,7 @@ def main():
# Automatically apply -e option to extra_args when source is a VCS url. VCS
# includes those beginning with svn+, git+, hg+ or bzr+
has_vcs = False
if pkg:
for pkg in name:
if bool(pkg and re.match(r'(svn|git|hg|bzr)\+', pkg)):
has_vcs = True