1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-01-22 20:44:55 +00:00

py-i2phosts-checker: optionally run fetcher/maint/builder

This commit is contained in:
Hidden Z 2010-10-31 20:46:11 +00:00
parent be103aeb7a
commit 26a87c4bb1

View File

@ -66,7 +66,13 @@ def run_prog(prog):
def main():
while True:
if config.as_bool('run_fetcher'):
run_prog('py-i2phosts-fetcher')
check()
if config.as_bool('run_maint'):
run_prog('py-i2phosts-maint')
if config.as_bool('run_builder'):
run_prog('py-i2phosts-builder')
if args.debug or args.verbose:
sys.exit(0)
else: