diff pylons_app/lib/utils.py @ 524:63212fea2471

a lot of fixes in templates, added options to each repository showing fork/serach/settings fixed emtpy changeset (again !)
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 29 Sep 2010 22:36:53 +0200
parents eda96fb85ba7
children 39203995f2c4
line wrap: on
line diff
--- a/pylons_app/lib/utils.py	Tue Sep 28 22:38:34 2010 +0000
+++ b/pylons_app/lib/utils.py	Wed Sep 29 22:36:53 2010 +0200
@@ -229,8 +229,9 @@
         """
         return '0' * 40
     
+    @LazyProperty
     def short_id(self):
-        self.raw_id[:12]
+        return self.raw_id[:12]
 
 def repo2db_mapper(initial_repo_list, remove_obsolete=False):
     """