misc: small fix or general refactoring i did not bother commenting
This commit is contained in:
parent
df246b255a
commit
bceb3c4c4f
@ -47,8 +47,7 @@ def check(version, repo, native=True):
|
||||
is_arm = info['arch'].startswith('arm')
|
||||
|
||||
local = pkg_resources.parse_version(info['current'])
|
||||
remote = pkg_resources.parse_requirements(latest_ver)
|
||||
|
||||
remote = pkg_resources.parse_version(latest_ver)
|
||||
if remote > local:
|
||||
if not native:
|
||||
info['url'] = "https://github.com/%s/archive/%s.zip" % (repo, latest['tag_name'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user