summaryrefslogtreecommitdiffstats
path: root/utils/common/gitscraper.py
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-07-09 10:36:06 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-07-09 14:39:27 +0000
commitdcdf2713f610cb3cfaa615ab9b8d4b9412e7a8b6 (patch)
treee0b581aa203158e9dab01398f38a0b1a82adc6ee /utils/common/gitscraper.py
parent278a76b3a6dbf658bd0d3ad67ad7f15d8b8fa32a (diff)
downloadrockbox-dcdf2713f610cb3cfaa615ab9b8d4b9412e7a8b6.tar.gz
rockbox-dcdf2713f610cb3cfaa615ab9b8d4b9412e7a8b6.tar.bz2
rockbox-dcdf2713f610cb3cfaa615ab9b8d4b9412e7a8b6.zip
Python3-related fixes in some of our scripts
Change-Id: I8acbe43e3f27e51159a7a78fcc361476d7406cbb
Diffstat (limited to 'utils/common/gitscraper.py')
-rwxr-xr-xutils/common/gitscraper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/common/gitscraper.py b/utils/common/gitscraper.py
index 496d32bce3..c7a2c3a563 100755
--- a/utils/common/gitscraper.py
+++ b/utils/common/gitscraper.py
@@ -212,7 +212,7 @@ def archive_files(repo, treehash, filelist, basename, tmpfolder=None,
temp_remove = False
workfolder = scrape_files(
repo, treehash, filelist, os.path.join(tmpfolder, basename))[0]
- if basename is "":
+ if basename == "":
return ""
print("Archiving files from repository")
if archive == "7z":