mirror of
https://github.com/tbabej/taskwiki.git
synced 2025-08-19 15:53:07 +02:00
ShortUUID: Add string representation of short uuid form
This commit is contained in:
parent
d0bbba7b92
commit
a1da9eb1f0
1 changed files with 3 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue