def _parse_xml(self, xml):
        """Extracts the attributes from the XMLElement instance."""
        from re import split
        vms("Parsing <cron> XML child tag.", 2)
        self.frequency = get_attrib(xml, "frequency", default=5, cast=int)
        self.emails = split(",\s*", get_attrib(xml, "emails", default=""))
        self.notify = split(",\s*", get_attrib(xml, "notify", default=""))
def _parse_xml ( self , xml ) : from re import split vms ( "Parsing <cron> XML child tag." , 2 ) self . frequency = get_attrib ( xml , "frequency" , default = 5 , cast = int ) self . emails = split ( ",\s*" , get_attrib ( xml , "emails" , default = "" ) ) self . notify = split ( ",\s*" , get_attrib ( xml , "notify" , default = "" ) )
Extracts the attributes from the XMLElement instance.