1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

Also ignore .bzr when scanning

This commit is contained in:
Daniel Martí 2014-04-16 21:06:24 +02:00
parent 559ad9ef5b
commit f79ded4a26

View File

@ -1252,7 +1252,7 @@ def scan_source(build_dir, root_dir, thisbuild):
# Iterate through all files in the source code
for r,d,f in os.walk(build_dir):
if any(insidedir(r, igndir) for igndir in ('.hg', '.git', '.svn')):
if any(insidedir(r, d) for d in ('.hg', '.git', '.svn', '.bzr')):
continue
for curfile in f: