def Print(self):\r
errMsg = ''\r
for Key in self.TargetTxtDictionary:\r
- if type(self.TargetTxtDictionary[Key]) == type([]):\r
+ if isinstance(self.TargetTxtDictionary[Key], type([])):\r
print("%-30s = %s" % (Key, ''.join(elem + ' ' for elem in self.TargetTxtDictionary[Key])))\r
elif self.TargetTxtDictionary[Key] is None:\r
errMsg += " Missing %s configuration information, please use TargetTool to set value!" % Key + os.linesep \r