Commit 35351174 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_prototype: Do not build package in case of no_action parameter

parent 18479443
...@@ -153,8 +153,10 @@ class BusinessPackage(XMLObject): ...@@ -153,8 +153,10 @@ class BusinessPackage(XMLObject):
""" """
Should also export the objects from PathTemplateItem to their xml format Should also export the objects from PathTemplateItem to their xml format
""" """
if not no_action:
self.storePathData() self.storePathData()
self._path_item.build(self) self._path_item.build(self)
pass
#self._object_property_item.build(self) #self._object_property_item.build(self)
#self.setBuildingState('built') #self.setBuildingState('built')
...@@ -240,7 +242,6 @@ class BusinessPackage(XMLObject): ...@@ -240,7 +242,6 @@ class BusinessPackage(XMLObject):
elif prop_type in ('lines', 'tokens'): elif prop_type in ('lines', 'tokens'):
prop_dict[pid[:-5]] = (value or '').splitlines() prop_dict[pid[:-5]] = (value or '').splitlines()
self._edit(**prop_dict) self._edit(**prop_dict)
self.storePathData() self.storePathData()
item_name_list = ['_path_item',] item_name_list = ['_path_item',]
......
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