Merge pull request #1127 from nickstenning/paste-respect-global-defaults

Respect defaults when running a paster application
This commit is contained in:
Benoit Chesneau 2015-10-15 16:36:17 +02:00
commit 9158ab20f8

View File

@ -44,8 +44,6 @@ def paste_config(gconfig, config_url, relative_to, global_conf=None):
elif host:
cfg['bind'] = host.split(',')
cfg['workers'] = int(lc.get('workers', 1))
cfg['umask'] = int(lc.get('umask', 0))
cfg['default_proc_name'] = gc.get('__file__')
# init logging configuration