We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e9f216 commit 0ccd3b2Copy full SHA for 0ccd3b2
lib/libversion.py
@@ -328,6 +328,10 @@ def parse_requirement(requirement):
328
splitted = specs_s.split(",")
329
specs = []
330
for vs in splitted:
331
+ if vs == "":
332
+ # for some weird reasons, sometimes a trailing ',' is
333
+ # included in the requirement list.
334
+ continue
335
cmp_end = re.search(version_cmp, vs).end()
336
c, v = vs[:cmp_end], vs[cmp_end:]
337
specs.append((c, v))
0 commit comments