forked from public/mirror-checker
Skip projects no longer mirrored
This commit is contained in:
parent
a33c73a7e9
commit
6e6227058e
4
main.py
4
main.py
|
@ -27,6 +27,10 @@ if __name__ == "__main__":
|
||||||
print(f"Failure: {project} does not exist")
|
print(f"Failure: {project} does not exist")
|
||||||
continue
|
continue
|
||||||
project_class = getattr(sys.modules[__name__], project)
|
project_class = getattr(sys.modules[__name__], project)
|
||||||
|
|
||||||
|
# Skip projects we no longer mirror
|
||||||
|
if project in ["pkgsrc", "qtproject", "DebianPorts", "OpenBSD"]:
|
||||||
|
continue
|
||||||
if project in ["CPAN", "ubuntu", "ubuntu_releases", "manjaro", "mxlinux", "cran", "ctan", "gentooportage"]:
|
if project in ["CPAN", "ubuntu", "ubuntu_releases", "manjaro", "mxlinux", "cran", "ctan", "gentooportage"]:
|
||||||
checker_result = project_class.check(data, project, current_time)
|
checker_result = project_class.check(data, project, current_time)
|
||||||
if checker_result:
|
if checker_result:
|
||||||
|
|
Loading…
Reference in New Issue