Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7ed6425b authored by tschulzke's avatar tschulzke Committed by Romain Hunault
Browse files

Update build_manifest.py to get rid of python2->3 related error

Traceback (most recent call last):
  File "/root/build_manifest.py", line 61, in <module>
    f.write(xmlstr)
TypeError: write() argument must be str, not bytes

(at least when using custom manifests)
parent cd2cd2f8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -58,4 +58,4 @@ if __name__ == "__main__":

    xmlstr = minidom.parseString(ET.tostring(xmlout)).toprettyxml(indent="  ", encoding="UTF-8")
    with open(args.out, "w") as f:
        f.write(xmlstr)
        f.write(xmlstr.decode('utf-8'))