diff options
author | papush | 2021-04-29 15:48:34 +0200 |
---|---|---|
committer | papush | 2021-04-29 15:48:34 +0200 |
commit | 775dc998bda0b2ed56ff17492d28825775634f60 (patch) | |
tree | 37e397bf52513a31fae8a3fb3a7538c0146688d1 | |
parent | 404372326e9d854b065175ef1f4634fd78ca8afa (diff) |
migrate build script to python3
-rw-r--r-- | build.py | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -1,6 +1,6 @@ import os, os.path, zipfile, sys
-xpi = zipfile.ZipFile('redirector-' + raw_input('Version: ') + '.xpi','w')
+xpi = zipfile.ZipFile('redirector-' + input('Version: ') + '.xpi','w')
for (root, folders, files) in os.walk('.'):
if 'unittest' in root:
continue
@@ -10,5 +10,3 @@ for (root, folders, files) in os.walk('.'): xpi.write(os.path.join(root[2:],f))
xpi.close()
-
-
|