Fixing story guid hash on user stories (and RS:# stores in redis.)

This commit is contained in:
Samuel Clay 2013-04-13 22:43:03 -07:00
parent 1b482a78c6
commit 5625168603

View file

@ -621,7 +621,7 @@ class MUserStory(mongo.Document):
@property
def guid_hash(self):
return hashlib.sha1(self.story_id).hexdigest()
return hashlib.sha1(self.story_id).hexdigest()[:6]
@property
def feed_guid_hash(self):