changeset 69:9fac58348520

whitespace cleanup
author Jeff Hammel <jhammel@mozilla.com>
date Fri, 03 Aug 2012 23:48:25 -0700
parents 4094bee13154
children 262fb90a54b4
files decoupage/web.py
diffstat 1 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/decoupage/web.py	Fri Aug 03 23:46:29 2012 -0700
+++ b/decoupage/web.py	Fri Aug 03 23:48:25 2012 -0700
@@ -198,7 +198,7 @@
 
         # render the template
         template = conf.get('/template')
-        local_index = False 
+        local_index = False
         if template is None:
             if 'index.html' in [ f['name'] for f in files ]:
                 local_index = os.path.join(directory, 'index.html')
@@ -251,7 +251,7 @@
             if filetype == 'file':
                 data['size'] =  os.path.getsize(filepath)
             files.append(data)
-        
+
         # TODO: deal with other links in conf
         for i in conf:
             if i in filenames or i.startswith('/'):
@@ -260,7 +260,7 @@
                 files.append({'path': i,
                               'name': i,
                               'type': link})
-            
+
         for f in files:
             f['description'] = conf.get(f['name'], None)
 
@@ -304,7 +304,7 @@
             parent_configuration = self.conf(inherit_directory)
             for key, value in parent_configuration.items():
                 if key.startswith('/') and key not in conf:
-                    conf[key] = value                
+                    conf[key] = value
 
         # cache configuration
         if not self.auto_reload:
@@ -320,5 +320,5 @@
             if key.startswith('/'):
                 key = key[1:]
                 if key in self.formatters:
-                    formatter = self.formatters[key](value)        
+                    formatter = self.formatters[key](value)