Commits

Thomas Lotze committed 24a0225

normalise dashes to underscores in variable names set by the paste config

  • Participants
  • Parent commits 4544b02

Comments (0)

Files changed (1)

File ophelia/wsgi.py

 def paste_app_factory(global_conf, **local_conf):
     options = global_conf.copy()
     options.update(local_conf)
+    options = dict((key.replace('-', '_'), value)
+                   for key, value in options.items())
     return Application(options)