changeset 520:eda96fb85ba7

dohh !! fixed EmptyCHangeset for new vcs
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 28 Sep 2010 21:08:43 +0000
parents c83d12871424
children 5bcf051709bb
files pylons_app/lib/utils.py
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/lib/utils.py	Tue Sep 28 20:38:14 2010 +0000
+++ b/pylons_app/lib/utils.py	Tue Sep 28 21:08:43 2010 +0000
@@ -227,8 +227,10 @@
         Returns raw string identifing this changeset, useful for web
         representation.
         """
-        return '0' * 12
-
+        return '0' * 40
+    
+    def short_id(self):
+        self.raw_id[:12]
 
 def repo2db_mapper(initial_repo_list, remove_obsolete=False):
     """