Arch: Remove Py2 code

This commit is contained in:
Chris Hennes
2022-11-07 22:05:55 -06:00
committed by Uwe
parent ca8609ef3a
commit a64fef50bc
8 changed files with 15 additions and 125 deletions

View File

@@ -49,10 +49,7 @@ def export(exportList, filename):
}
# Write file
if six.PY2:
outfile = pythonopen(filename, "wb")
else:
outfile = pythonopen(filename, "w")
outfile = pythonopen(filename, "w")
json.dump(data, outfile, separators = (',', ':'))
outfile.close()