mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Remove errant leading spaces from fabfile.py.in
This commit is contained in:
parent
81cd781c45
commit
fd231b6ce2
1 changed files with 3 additions and 3 deletions
|
|
@ -36,13 +36,13 @@ def regenerate():
|
||||||
|
|
||||||
def serve():
|
def serve():
|
||||||
os.chdir(env.deploy_path)
|
os.chdir(env.deploy_path)
|
||||||
|
|
||||||
PORT = 8000
|
PORT = 8000
|
||||||
class AddressReuseTCPServer(SocketServer.TCPServer):
|
class AddressReuseTCPServer(SocketServer.TCPServer):
|
||||||
allow_reuse_address = True
|
allow_reuse_address = True
|
||||||
|
|
||||||
server = AddressReuseTCPServer(('', PORT), SimpleHTTPServer.SimpleHTTPRequestHandler)
|
server = AddressReuseTCPServer(('', PORT), SimpleHTTPServer.SimpleHTTPRequestHandler)
|
||||||
|
|
||||||
sys.stderr.write('Serving on port {0} ...\n'.format(PORT))
|
sys.stderr.write('Serving on port {0} ...\n'.format(PORT))
|
||||||
server.serve_forever()
|
server.serve_forever()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue