Type == DT.TYPE_EVENT_SECTION or \\r
Type == DT.TYPE_BOOTMODE_SECTION:\r
for Item in SepcialSectionList:\r
- if self.SpecialComments.has_key(Type): \r
+ if Type in self.SpecialComments:\r
ObjList = self.SpecialComments[Type]\r
ObjList.append(Item)\r
self.SpecialComments[Type] = ObjList\r
File=LineInfo[0], \r
Line=LineInfo[1],\r
ExtraData=LineInfo[2], \r
- RaiseError=RaiseError)
\ No newline at end of file
+ RaiseError=RaiseError)\r