Beispiel #1
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     update_counters(
         fast=options["fast"],
         nolog=options["nolog"],
         logger=logger,
     )
Beispiel #2
0
 def handle(self, *args, **options):
     set_verbosity_level(logger, options.get("verbosity", 1))
     update_counters(
         fast=options["fast"],
         nolog=options["nolog"],
         logger=logger,
     )
Beispiel #3
0
def update_counters(fast=False):
    """
    Updates counters
    """
    logger = update_counters.get_logger()
    logger.info("Updating counters (fast=%s)...", fast)
    misc.update_counters(fast=fast)
    logger.info("Done")
    return True
Beispiel #4
0
def update_counters(fast=False):
    """
    Updates counters
    """
    logger = update_counters.get_logger()
    logger.info("Updating counters (fast=%s)...", fast)
    misc.update_counters(fast=fast)
    logger.info("Done")
    return True