This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import pika | |
import sys | |
import signal | |
import time | |
import datetime | |
import argparse | |
#TODO cleanup at signal handler | |
def signal_handler(signum, frame): |