Fix == in python version string matching.
This commit is contained in:
parent
f2515552e4
commit
eade730fc3
2 changed files with 7 additions and 1 deletions
|
@ -108,7 +108,7 @@ def python_spec_to_apt_rels(pkg_name, specs):
|
|||
rels.extend([{"name": pkg_name, "version": ('>=', deb_version)},
|
||||
{"name": pkg_name, "version": ('<<', next_maj_deb_version)}])
|
||||
else:
|
||||
c = {">=": ">=", "<=": "<=", "<": "<<", ">": ">>", "=": "="}[spec[0]]
|
||||
c = {">=": ">=", "<=": "<=", "<": "<<", ">": ">>", "==": "="}[spec[0]]
|
||||
rels.append([{"name": pkg_name, "version": (c, deb_version)}])
|
||||
return rels
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue