diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2012-06-07 08:50:06 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2012-06-07 08:50:06 +1200 |
commit | 049d3d2b45d42245a305bd0bd3b5164a44dc7ba2 (patch) | |
tree | 5d55204f758ef2410b2ea37cca91130f4dcce89d /pathod | |
parent | d171e13fd376225695b45a02925952fe7c0aeefc (diff) | |
download | mitmproxy-049d3d2b45d42245a305bd0bd3b5164a44dc7ba2.tar.gz mitmproxy-049d3d2b45d42245a305bd0bd3b5164a44dc7ba2.tar.bz2 mitmproxy-049d3d2b45d42245a305bd0bd3b5164a44dc7ba2.zip |
lippathod/app.py -> libpathod/pathod.py
Diffstat (limited to 'pathod')
-rwxr-xr-x | pathod | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,6 +1,6 @@ #!/usr/bin/env python import argparse, sys -from libpathod import app, utils, version +from libpathod import pathod, utils, version import tornado.ioloop if __name__ == "__main__": @@ -33,7 +33,7 @@ if __name__ == "__main__": settings = dict( staticdir=args.staticdir ) - application = app.PathodApp(**settings) + application = pathod.PathodApp(**settings) for i in args.anchors: try: rex, spec = utils.parse_anchor_spec(i, settings) @@ -50,6 +50,6 @@ if __name__ == "__main__": ssl = None print "%s listening on port %s"%(version.NAMEVERSION, args.port) try: - app.run(application, args.port, ssl) + pathod.run(application, args.port, ssl) except KeyboardInterrupt: pass |