[Checkins] SVN: hurry.file/trunk/src/hurry/file/file.py Remove trailing whitespace.

Uli Fouquet uli at gnufix.de
Mon Aug 8 18:41:10 EDT 2011


Log message for revision 122493:
  Remove trailing whitespace.
  

Changed:
  U   hurry.file/trunk/src/hurry/file/file.py

-=-
Modified: hurry.file/trunk/src/hurry/file/file.py
===================================================================
--- hurry.file/trunk/src/hurry/file/file.py	2011-08-08 15:53:54 UTC (rev 122492)
+++ hurry.file/trunk/src/hurry/file/file.py	2011-08-08 22:41:10 UTC (rev 122493)
@@ -22,12 +22,12 @@
 
 class HurryFile(Persistent):
     implements(interfaces.IHurryFile)
-    
+
     def __init__(self, filename, data):
         self.filename = filename
         self.data = data
         self.headers = {}
-        
+
     def _get_file(self):
         storage = component.getUtility(interfaces.IFileRetrieval)
         return storage.getFile(self.data)
@@ -49,7 +49,7 @@
                     self.data == other.data)
         except AttributeError:
             return False
-        
+
     def __neq__(self, other):
         try:
             return (self.filename != other.filename or
@@ -60,20 +60,20 @@
 def createHurryFile(filename, f):
     retrieval = component.getUtility(interfaces.IFileRetrieval)
     return retrieval.createFile(filename, f)
-    
+
 class IdFileRetrieval(Persistent, Contained):
     """Very basic implementation of FileRetrieval.
 
     This implementation just returns a File object for the data.
     """
     implements(interfaces.IFileRetrieval)
-    
+
     def getFile(self, data):
         return StringIO(data)
 
     def createFile(self, filename, f):
         return HurryFile(filename, f.read())
-    
+
 class TramlineFileRetrievalBase(Persistent, Contained):
     """File retrieval for tramline (base class).
     """
@@ -84,7 +84,7 @@
 
     def isTramlineEnabled(self):
         return True
-    
+
     def getFile(self, data):
         # tramline is disabled, so give fall-back behavior for testing
         # without tramline
@@ -126,5 +126,5 @@
         # XXX this can be made more efficient
         of.write(f.read())
         of.close()
-        
+
         return HurryFile(filename, file_id)



More information about the checkins mailing list