Commit 3ea922c8 authored by wenjie.zheng's avatar wenjie.zheng

Worklist.py: change the value type of the return value of getVarMatch so the Worklist can work.

parent 2ee0030f
...@@ -146,9 +146,9 @@ class Worklist(XMLObject): ...@@ -146,9 +146,9 @@ class Worklist(XMLObject):
v = [ var.strip() for var in self.getMatchedPortalTypeList() ] v = [ var.strip() for var in self.getMatchedPortalTypeList() ]
matches = tuple(v) matches = tuple(v)
elif id == 'validation_state': elif id == 'validation_state':
matches = tuple(self.getMatchedValidationState()) matches = tuple([self.getMatchedValidationStateList()])
elif id == 'simulation_stae': elif id == 'simulation_stae':
matches = tuple(Expression(self.getMatchedSimulationState())) matches = tuple([self.getMatchedSimulationStateList()])
else: else:
raise NotImplementedError ("Cataloged variable matching error in Worklist.py") raise NotImplementedError ("Cataloged variable matching error in Worklist.py")
if matches is not None: if matches is not None:
......
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