Commit c43562f4 authored by Michel Pelletier's avatar Michel Pelletier

NEVER default an object's title to None, allways ''.. (it will blow up

an instance of a ZClass that subclasses the object).
parent ed17f397
...@@ -164,7 +164,7 @@ class ZCatalog(Folder, FindSupport, Persistent, Implicit): ...@@ -164,7 +164,7 @@ class ZCatalog(Folder, FindSupport, Persistent, Implicit):
manage_catalogStatus = HTMLFile('catalogStatus', globals()) manage_catalogStatus = HTMLFile('catalogStatus', globals())
def __init__(self,id,title=None): def __init__(self,id,title=''):
self.id=id self.id=id
self.title=title self.title=title
self.threshold = 1000 self.threshold = 1000
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment