another fix for None in name
This commit is contained in:
parent
c871f488eb
commit
506e6ff2e2
1 changed files with 5 additions and 4 deletions
|
@ -368,6 +368,7 @@ def main():
|
||||||
# Automatically apply -e option to extra_args when source is a VCS url. VCS
|
# Automatically apply -e option to extra_args when source is a VCS url. VCS
|
||||||
# includes those beginning with svn+, git+, hg+ or bzr+
|
# includes those beginning with svn+, git+, hg+ or bzr+
|
||||||
has_vcs = False
|
has_vcs = False
|
||||||
|
if pkg:
|
||||||
for pkg in name:
|
for pkg in name:
|
||||||
if bool(pkg and re.match(r'(svn|git|hg|bzr)\+', pkg)):
|
if bool(pkg and re.match(r'(svn|git|hg|bzr)\+', pkg)):
|
||||||
has_vcs = True
|
has_vcs = True
|
||||||
|
|
Loading…
Reference in a new issue