Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def main():
parser = argparse.ArgumentParser()
parser.add_argument('--verbose','-v', action='store_true')
parser.add_argument('queue', nargs='?')
args = parser.parse_args()
queuelib.setup_logging()
if args.queue:
CloudflareProbe.QUEUE_NAME = CloudflareProbe.QUEUE_NAME.replace('.org', '.'+args.queue)
cfprobe = CloudflareProbe()
logging.info("Listening on: %s", cfprobe.QUEUE_NAME)
cfprobe.run()
def main():
queuelib.setup_logging()
gather = CategoryImporter()
gather.run()
def main():
queuelib.setup_logging()
whois = WhoisLookup()
whois.run()
def main():
queuelib.setup_logging()
gather = MetadataGatherer()
gather.run()