Permalink
Browse files

* python/mushin/model/couch.py:

	  Show 8 characters for id after new collision.
  • Loading branch information...
1 parent 1ce1fc7 commit 1f34b68ee4891cd0f03e7fc5bc32d64e9c1a0fed Thomas Vander Stichele committed Sep 5, 2012
Showing with 7 additions and 2 deletions.
  1. +5 −0 ChangeLog
  2. +2 −2 python/mushin/model/couch.py
View
@@ -1,5 +1,10 @@
2012-09-05 Thomas Vander Stichele <thomas at apestaart dot org>
+ * python/mushin/model/couch.py:
+ Show 8 characters for id after new collision.
+
+2012-09-05 Thomas Vander Stichele <thomas at apestaart dot org>
+
* python/mushin/common/logcommand.py:
Hook up warning and error too.
@@ -41,8 +41,8 @@ class Thing(mapping.Document, log.Loggable):
recurrence = mapping.IntegerField() # in seconds
def shortid(self):
- # last 6 chars reversed
- return self.id[:-7:-1]
+ # last 8 chars reversed
+ return self.id[:-9:-1]
# lifted from yagtd.py
def _needed_hours(self):

0 comments on commit 1f34b68

Please sign in to comment.