diff pylons_app/lib/utils.py @ 194:3d1dd13887f9

invalidate the repo list also for online changes. Small fixes in LoginRequired decorator. Cleaned hgwebdir config.
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 22 May 2010 02:20:26 +0200
parents 50a39f923f31
children da59b7e07e3c
line wrap: on
line diff
--- a/pylons_app/lib/utils.py	Sat May 22 02:00:39 2010 +0200
+++ b/pylons_app/lib/utils.py	Sat May 22 02:20:26 2010 +0200
@@ -91,10 +91,12 @@
     return baseui
 
 def invalidate_cache(name, *args):
+    """Invalidates given name cache"""
+    
     from beaker.cache import region_invalidate
     log.info('INVALIDATING CACHE FOR %s', name)
     
-    """propaget our arguments to make sure invalidation works. First
+    """propagate our arguments to make sure invalidation works. First
     argument has to be the name of cached func name give to cache decorator
     without that the invalidation would not work"""
     tmp = [name]