示例#1
0
 def parse_extensions(self, element):
     extLst = ExtensionList.from_tree(element)
     for e in extLst.ext:
         ext_type = EXT_TYPES.get(e.uri.upper(), "Unknown")
         msg = "{0} extension is not supported and will be removed".format(
             ext_type)
         warn(msg)
示例#2
0
 def parse_extensions(self, element):
     extLst = ExtensionList.from_tree(element)
     for e in extLst.ext:
         ext_type = EXT_TYPES.get(e.uri.upper(), "Unknown")
         msg = "{0} extension is not supported and will be removed".format(ext_type)
         warn(msg)