Fix kuryr-daemon for Werkzeug 0.13
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.
Closes-Bug:
@@ -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
