remove cruft

This commit is contained in:
Kenneth Reitz
2012-06-09 11:13:39 -04:00
parent 182f80b8ab
commit 8c390dc0a3
-16
View File
@@ -1,16 +0,0 @@
# -*- coding: utf-8 -*-
import sys
from gevent.wsgi import WSGIServer
from httpbin import app
try:
port = int(sys.argv[1])
except (KeyError, ValueError):
port = 5000
print 'Starting httpbin on port {0}'.format(port)
http_server = WSGIServer(('', port), app)
http_server.serve_forever()