Commit 02d9da29 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Initialize domain_list and report_list to an empty tuple instead of a tuple of an empty tuple.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1372 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4fedae1e
...@@ -142,9 +142,9 @@ class Selection(Acquisition.Implicit, Traversable, Persistent): ...@@ -142,9 +142,9 @@ class Selection(Acquisition.Implicit, Traversable, Persistent):
self.name = name self.name = name
self.index = index self.index = index
self.domain_path = ('portal_categories',) self.domain_path = ('portal_categories',)
self.domain_list = ((),) self.domain_list = ()
self.report_path = ('portal_categories',) self.report_path = ('portal_categories',)
self.report_list = ((),) self.report_list = ()
self.domain = None self.domain = None
self.report = None self.report = None
...@@ -366,4 +366,3 @@ class DomainSelection(Acquisition.Implicit, Traversable, Persistent): ...@@ -366,4 +366,3 @@ class DomainSelection(Acquisition.Implicit, Traversable, Persistent):
InitializeClass(DomainSelection) InitializeClass(DomainSelection)
allow_class(DomainSelection) allow_class(DomainSelection)
\ No newline at end of file
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