def main():
    'Main loop.'
    (options, args) = parse_options()
    verbose = options.verbose
    if verbose:
        LOG.logger.setLevel(logging.DEBUG)
    else:
        LOG.logger.setLevel(logging.INFO)
    LOG.info(('Cleaning stale locks from %s' % FLAGS.lock_path))
    utils.cleanup_file_locks()
    LOG.info('Finished')
Main loop.
def main():
    
    (options, args) = parse_options()
    verbose = options.verbose
    if verbose:
        LOG.logger.setLevel(logging.DEBUG)
    else:
        LOG.logger.setLevel(logging.INFO)
    LOG.info(('Cleaning stale locks from %s' % FLAGS.lock_path))
    utils.cleanup_file_locks()
    LOG.info('Finished')