# HG changeset patch # User Jeff Hammel # Date 1330473805 28800 # Node ID de28a619880ea263e78617bf3d62de474587b9ef # Parent bf70fc5a115fc79ee4385e5541c45d003b59ae97 dereference options diff -r bf70fc5a115f -r de28a619880e simpypi/factory.py --- a/simpypi/factory.py Tue Feb 28 16:02:53 2012 -0800 +++ b/simpypi/factory.py Tue Feb 28 16:03:25 2012 -0800 @@ -74,7 +74,7 @@ print "http://localhost:%d/" % options.port try: app = factory(directory=options.directory) - server = simple_server.make_server(host='0.0.0.0', port=port, app=app) + server = simple_server.make_server(host='0.0.0.0', port=options.port, app=app) server.serve_forever() finally: if tmpdir: