'Constructor'

def __init__(self, collection_mgr, tries=1, nofail=False, logger=None):

    self.verbose = True
    self.api = collection_mgr.api
    self.collection_mgr = collection_mgr
    self.distros = collection_mgr.distros()
    self.profiles = collection_mgr.profiles()
    self.systems = collection_mgr.systems()
    self.settings = collection_mgr.settings()
    self.repos = collection_mgr.repos()
    self.rflags = self.settings.reposync_flags
    self.tries = tries
    self.nofail = nofail
    self.logger = logger
    if (logger is None):
        self.logger = clogger.Logger()
    self.logger.info('hello,    reposync')
