Make sure msg(text=None) means that text should not be used (None must be converted to a string to send). Resolves #1077.
This commit is contained in:
parent
2b35140fe3
commit
00c64b10bb
2 changed files with 5 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class ContentsHandler(object):
|
|||
pks = self._pkcache
|
||||
try:
|
||||
return [self._idcache[pk] for pk in pks]
|
||||
except KeyError, err:
|
||||
except KeyError:
|
||||
# this can happen if the idmapper cache was cleared for an object
|
||||
# in the contents cache. If so we need to re-initialize and try again.
|
||||
self.init()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue