

def encode(self, plist):
    string = plistlib.writePlistToString(self)
    bz2data = bz2.compress(string)
    b64data = base64.b64encode(bz2data)
    return b64data

dataset/ETHPy150Open munki/munkiwebadmin/reports/models.py MunkiReport.encode/VarMisuse@18/25 `plist`->`self`