diff rhodecode/model/db.py @ 1818:cf51bbfb120e beta

auto white-space removal
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 29 Dec 2011 07:35:51 +0200
parents 6c86c987cf93
children 9451a569aee5
line wrap: on
line diff
--- a/rhodecode/model/db.py	Thu Dec 29 06:59:07 2011 +0200
+++ b/rhodecode/model/db.py	Thu Dec 29 07:35:51 2011 +0200
@@ -96,7 +96,7 @@
     def get_dict(self, serialized=False):
         """
         return dict with keys and values corresponding
-        to this model data 
+        to this model data
         """
 
         d = {}
@@ -106,7 +106,7 @@
         # also use __json__() if present to get additional fields
         if hasattr(self, '__json__'):
             for k, val in self.__json__().iteritems():
-                d[k] = val 
+                d[k] = val
         return d
 
     def get_appstruct(self):
@@ -970,7 +970,7 @@
         Returns Invalidation object if this given key should be invalidated
         None otherwise. `cache_active = False` means that this cache
         state is not valid and needs to be invalidated
-        
+
         :param key:
         """
         return cls.query()\
@@ -982,7 +982,7 @@
     def set_invalidate(cls, key):
         """
         Mark this Cache key for invalidation
-        
+
         :param key:
         """
 
@@ -1006,7 +1006,7 @@
     def set_valid(cls, key):
         """
         Mark this cache key as active and currently cached
-        
+
         :param key:
         """
         inv_obj = CacheInvalidation.query()\
@@ -1037,7 +1037,7 @@
         """
         Returns user associated with this changesetComment. ie those
         who actually commented
-        
+
         :param cls:
         :param revision:
         """
@@ -1120,4 +1120,3 @@
     repository_id = Column('repository_id', String(250), primary_key=True)
     repository_path = Column('repository_path', Text)
     version = Column('version', Integer)
-