cubicweb/pyramid/__init__.py
branch3.24
changeset 11811 f09efeead7f9
parent 11702 be23c3813bbf
child 11958 950ce7d9f642
--- a/cubicweb/pyramid/__init__.py	Tue Jun 30 10:00:53 2015 +0200
+++ b/cubicweb/pyramid/__init__.py	Wed Nov 09 11:42:33 2016 +0100
@@ -28,6 +28,7 @@
     config.include('cubicweb.pyramid')
     return config
 
+
 def settings_from_cwconfig(cwconfig):
     '''
     Extract settings from pyramid.ini and pyramid-debug.ini (if in debug)
@@ -42,21 +43,21 @@
     if cwconfig.debugmode:
         settings_filenames.insert(
             0, os.path.join(cwconfig.apphome, 'pyramid-debug.ini'))
-    
+
         settings.update({
             'pyramid.debug_authorization': True,
             'pyramid.debug_notfound': True,
             'pyramid.debug_routematch': True,
             'pyramid.reload_templates': True,
         })
-    
+
     for fname in settings_filenames:
         if os.path.exists(fname):
             cp = SafeConfigParser()
             cp.read(fname)
             settings.update(cp.items('main'))
             break
-    
+
     return settings