def productinfo(self):
        """Return the productversion and channel of this MAR if present."""
        if not self.mardata.additional:
            return None

        for s in self.mardata.additional.sections:
            if s.id == 1:
                return str(s.productversion), str(s.channel)

        return None
def productinfo ( self ) : if not self . mardata . additional : return None for s in self . mardata . additional . sections : if s . id == 1 : return str ( s . productversion ) , str ( s . channel ) return None
Return the productversion and channel of this MAR if present.