Skip to content
Snippets Groups Projects
Commit db0646af authored by Dan Villiom Podlaski Christiansen's avatar Dan Villiom Podlaski Christiansen
Browse files

patch: handle 'gitpatches' being empty, but not none

parent deed405e
No related branches found
No related tags found
No related merge requests found
...@@ -1199,7 +1199,7 @@ ...@@ -1199,7 +1199,7 @@
m = gitre.match(x) m = gitre.match(x)
if not m: if not m:
continue continue
if gitpatches is None: if not gitpatches:
# scan whole input for git metadata # scan whole input for git metadata
gitpatches = [('a/' + gp.path, 'b/' + gp.path, gp) for gp gitpatches = [('a/' + gp.path, 'b/' + gp.path, gp) for gp
in scangitpatch(lr, x)] in scangitpatch(lr, x)]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment