Further changes to allow dbrefs to be 0.
This commit is contained in:
parent
889708cf07
commit
8a44daef7e
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ class TypedObjectManager(idmapper.manager.SharedMemoryManager):
|
||||||
if isinstance(dbref, basestring):
|
if isinstance(dbref, basestring):
|
||||||
dbref = dbref.lstrip('#')
|
dbref = dbref.lstrip('#')
|
||||||
try:
|
try:
|
||||||
if int(dbref) < 1:
|
if int(dbref) < 0:
|
||||||
return None
|
return None
|
||||||
except Exception:
|
except Exception:
|
||||||
return None
|
return None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue