]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/cmd/web.py
pylint: check for trailing whitespace
[bup.git] / lib / bup / cmd / web.py
index ccac6faaecc8da780bcfdb60ab0d1d7d4c6c5ef6..d83fb12ff73ee196ef2a9af3314a9edd5014f484 100755 (executable)
@@ -90,7 +90,7 @@ def _dir_contents(repo, resolution, show_hidden=False):
 
         return display_name, link + url_query, display_size
 
-    dir_item = resolution[-1][1]    
+    dir_item = resolution[-1][1]
     for name, item in vfs.contents(repo, dir_item):
         if not show_hidden:
             if (name not in (b'.', b'..')) and name.startswith(b'.'):
@@ -118,7 +118,7 @@ class BupRequestHandler(tornado.web.RequestHandler):
 
     def head(self, path):
         return self._process_request(path)
-    
+
     def _process_request(self, path):
         print('Handling request for %s' % path)
         sys.stdout.flush()
@@ -173,7 +173,7 @@ class BupRequestHandler(tornado.web.RequestHandler):
         ctype = self._guess_type(path)
         self.set_header("Last-Modified", http_date_from_utc_ns(meta.mtime))
         self.set_header("Content-Type", ctype)
-        
+
         self.set_header("Content-Length", str(meta.size))
         assert len(file_item.oid) == 20
         self.set_header("Etag", hexlify(file_item.oid))