You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
318 B
Python

import logging
from vcs_mirrors.lib.utils import sync_one
def configure_argparse(subparser):
pass
def execute(config, args):
result = 0
for repo in config['repos'].keys():
logging.info('Syncing "%s"' % repo)
if sync_one(repo, config) == False:
result = 1
return result