1
0
Fork 0
forked from github/pelican

Remove errant leading spaces from fabfile.py.in

This commit is contained in:
Justin Mayer 2014-04-30 13:35:10 -07:00
commit fd231b6ce2

View file

@ -36,13 +36,13 @@ def regenerate():
def serve():
os.chdir(env.deploy_path)
PORT = 8000
class AddressReuseTCPServer(SocketServer.TCPServer):
allow_reuse_address = True
server = AddressReuseTCPServer(('', PORT), SimpleHTTPServer.SimpleHTTPRequestHandler)
sys.stderr.write('Serving on port {0} ...\n'.format(PORT))
server.serve_forever()