Skip to content

Commit

Permalink
fix lint for previous change.
Browse files Browse the repository at this point in the history
  • Loading branch information
ztane committed Jun 2, 2020
1 parent 6280ff1 commit ddbc277
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/pyramid/scripts/pserve.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,7 @@ def wsgiref_server_runner(wsgi_app, global_conf, **kw): # pragma: no cover
port = int(kw.get('port', 8080))
server = make_server(host, port, wsgi_app)
print(
'Starting HTTP server on http://%s:%s' % (host, port),
file=sys.stderr
'Starting HTTP server on http://%s:%s' % (host, port), file=sys.stderr
)
server.serve_forever()

Expand Down Expand Up @@ -420,12 +419,12 @@ def cherrypy_server_runner(
print(
'serving on 0.0.0.0:%s view at %s://127.0.0.1:%s'
% (port, protocol, port),
file=sys.stderr
file=sys.stderr,
)
else:
print(
'serving on %s://%s:%s' % (protocol, host, port),
file=sys.stderr
file=sys.stderr,
)
server.start()
except (KeyboardInterrupt, SystemExit):
Expand Down

0 comments on commit ddbc277

Please sign in to comment.