trisquel updated

dev
Tom 12 months ago
parent ce3e8f907a
commit fbf080de1b
  1. 7
      projects/trisquel.py

@ -39,15 +39,18 @@ class trisquel(Project):
if href not in hrefs2:
return False
elif cls.checker(site1+href, "Release") > cls.checker(site2+href, "Release"):
# print(cls.checker(site1+href, "Release"))
# print(cls.checker(site2+href, "Release"))
# print(cls.checker(site1+href, "Release") > cls.checker(site2+href, "Release"))
return False
return True
@classmethod
def check_iso(cls, site, mirrors):
for mirror in mirrors:
# print(cls.checker(site, "md5sum.txt"))
# print(cls.checker(mirror, "md5sum.txt"))
if cls.checker(site, "md5sum.txt") < cls.checker(mirror, "md5sum.txt"):
print(cls.checker(site, "md5sum.txt"))
print(cls.checker(mirror, "md5sum.txt"))
return False
return True

Loading…
Cancel
Save