ShortUUID: Add string representation of short uuid form

This commit is contained in:
Tomas Babej 2015-04-04 22:29:00 +02:00
parent d0bbba7b92
commit a1da9eb1f0

View file

@ -37,6 +37,9 @@ class ShortUUID(object):
def __hash__(self):
return self.value.__hash__() * 17 + self.tw.__hash__() * 7
def __str__(self):
return self.value
def vim_representation(self, cache):
"""
Return 'H:<uuid>' for TW with indicator 'H',