summaryrefslogtreecommitdiff
path: root/utils/gen_fast_manifest.py
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-11-19 15:42:31 +0100
committerMichał Górny <mgorny@gentoo.org>2017-11-19 15:42:31 +0100
commit3124d8bd330dda6eed5a588439f470b30ae33bb3 (patch)
tree61f9131b5236ee55c728728a50ff691004eb0eb5 /utils/gen_fast_manifest.py
parente6da9a9beabd58dd27d742e44f15b70808116621 (diff)
downloadgemato-3124d8bd330dda6eed5a588439f470b30ae33bb3.tar.gz
gen_fast_manifest: Fix clearing list in py2
Diffstat (limited to 'utils/gen_fast_manifest.py')
-rwxr-xr-xutils/gen_fast_manifest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/gen_fast_manifest.py b/utils/gen_fast_manifest.py
index 7161a7f..f4e4bbe 100755
--- a/utils/gen_fast_manifest.py
+++ b/utils/gen_fast_manifest.py
@@ -41,7 +41,7 @@ def generate_manifest_entries(out, topdir):
out.append(get_manifest_entry('MANIFEST',
fp, os.path.relpath(fp, topdir)))
# do not descend
- dirs.clear()
+ del dirs[:]
skip = True
break
else: