Fixed an issue in idmapper metaclass wrapper, it caused text fields to be occationally be written with objects.

This commit is contained in:
Griatch 2013-09-22 19:56:51 +02:00
parent bbba695380
commit 0a394929b7
7 changed files with 146 additions and 45 deletions

View file

@ -175,8 +175,8 @@ class TypeClass(object):
dbobj.dbid,
dbobj.typeclass_path,))
def __str__(self):
"represent the object"
return self.key
def __unicode__(self):
return u"%s" % self.key
# def __str__(self):
# "represent the object"
# return _GA(self, "key")
# def __unicode__(self):
# return u"%s" % _GA(self, "key")