version 1.43, 2004/11/23 16:22:18
|
version 1.44, 2005/03/01 10:03:51
|
Line 161 class MPIWGRoot(ZSQLExtendFolder):
|
Line 161 class MPIWGRoot(ZSQLExtendFolder):
|
|
|
def replaceNotEmpty(self,format,field): |
def replaceNotEmpty(self,format,field): |
"""replace not empty""" |
"""replace not empty""" |
if field and (not field==''): |
if field and (not field.lstrip()==''): |
return format%field |
return format%field |
else: |
else: |
return "" |
return "" |
Line 393 class MPIWGRoot(ZSQLExtendFolder):
|
Line 393 class MPIWGRoot(ZSQLExtendFolder):
|
"""getListofFieldNames""" |
"""getListofFieldNames""" |
ret=[] |
ret=[] |
|
|
objects=self.ZopeFind(self,obj_metatypes=['MPIWGProject'],search_sub=1) |
objects=self.ZopeFind(self.projects,obj_metatypes=['MPIWGProject'],search_sub=0) |
|
|
|
|
for object in objects: |
for object in objects: |