Skip to content
This repository was archived by the owner on Sep 12, 2018. It is now read-only.

Commit 458907c

Browse files
committed
Merge pull request #414 from dotcloud/next
Fix for execv() typage error (only strings)
2 parents d8276be + 4c8cfc5 commit 458907c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docker_registry/run.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,11 @@ def run_gunicorn():
4848
formatter_class=RawTextHelpFormatter)
4949
parser.parse_args()
5050

51-
workers = env.source('GUNICORN_WORKERS')
51+
workers = str(env.source('GUNICORN_WORKERS'))
5252
host = env.source('REGISTRY_HOST')
5353
port = env.source('REGISTRY_PORT')
54-
graceful_timeout = env.source('GUNICORN_GRACEFUL_TIMEOUT')
55-
silent_timeout = env.source('GUNICORN_SILENT_TIMEOUT')
54+
graceful_timeout = str(env.source('GUNICORN_GRACEFUL_TIMEOUT'))
55+
silent_timeout = str(env.source('GUNICORN_SILENT_TIMEOUT'))
5656

5757
address = '%s:%s' % (host, port)
5858

0 commit comments

Comments
 (0)