Fix kuryr-daemon for Werkzeug 0.13
Ie7c0ddaa0091b31da2661be48e6cf40e052dcd52 updates upper-constraints to point to Werzeug 0.13. Looks like it has non-backward compatible change and now requires port passed to run_simple to be an integer. This commit makes sure we're passing int instead of string. Change-Id: I36681dd3443463fd455dccdd0c8702162c16b84f Closes-Bug: 1738374
This commit is contained in:
parent
c468b28c38
commit
904ed6c26c
|
@ -171,6 +171,7 @@ class DaemonServer(object):
|
|||
LOG.info('Starting server on %s.', server_pair)
|
||||
try:
|
||||
address, port = server_pair.split(':')
|
||||
port = int(port)
|
||||
except ValueError:
|
||||
LOG.exception('Cannot start server on %s.', server_pair)
|
||||
raise
|
||||
|
|
Loading…
Reference in New Issue