Commit acb7c818 authored by Ayush Tiwari's avatar Ayush Tiwari

bt5_config: Check for title also while getting installed BM

parent 9800bc12
......@@ -143,8 +143,10 @@ class TemplateTool (BaseTool):
'Business Package',
'Business Manager']):
if bt.getPortalType() == 'Business Manager':
if bt.getStatus() == 'installed':
if bt.getStatus() == 'installed' and bt.title == title:
return bt
else:
continue
return None
if bt.getTitle() == title or title in bt.getProvisionList():
state = bt.getInstallationState()
......
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