Created
November 17, 2016 00:24
-
-
Save farshidce/0ed9611694ba2d97496751c913f5d54e to your computer and use it in GitHub Desktop.
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 sys | |
import os | |
for key in os.environ.keys(): | |
print("%s %s" % (key, os.environ[key])) | |
import logging | |
from stem.messaging import messaging | |
logger = logging.getLogger(__name__) | |
for key in os.environ.keys(): | |
print("%s %s" % (key, os.environ[key])) | |
logger.info("%30s %s \n" % (key,os.environ[key])) | |
def main(): | |
# sys.argv.append('-v2') | |
messaging.main() | |
if __name__ == "__main__": | |
main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment