Basic functionality for type management
git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@1118 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
parent
8e9d392030
commit
96e22b4b10
1 changed files with 3 additions and 2 deletions
|
@ -36,10 +36,11 @@ class BaseType(object):
|
|||
def __eq__(self, other):
|
||||
return self.token == other.token
|
||||
|
||||
title = 'BaseType'
|
||||
title = u'BaseType'
|
||||
|
||||
@property
|
||||
def token(self): return self.title.lower()
|
||||
def token(self):
|
||||
return str(self.title.lower().replace(' ', '_'))
|
||||
|
||||
@property
|
||||
def tokenForSearch(self): return self.token
|
||||
|
|
Loading…
Add table
Reference in a new issue