Ansgar pushed to branch master at Debian FTP Team / dak
Commits:
-
b0a48b1f
by Ansgar at 2022-03-23T23:04:52+01:00
1 changed file:
Changes:
... | ... | @@ -477,7 +477,7 @@ def check_files_not_symlinks(): |
477 | 477 | ################################################################################
|
478 | 478 | |
479 | 479 | |
480 | -def chk_bd_process_dir(unused, dirname, filenames):
|
|
480 | +def chk_bd_process_dir(dirname, filenames):
|
|
481 | 481 | for name in filenames:
|
482 | 482 | if not name.endswith(".dsc"):
|
483 | 483 | continue
|
... | ... | @@ -498,7 +498,8 @@ def chk_bd_process_dir(unused, dirname, filenames): |
498 | 498 | def check_build_depends():
|
499 | 499 | """ Validate build-dependencies of .dsc files in the archive """
|
500 | 500 | cnf = Config()
|
501 | - os.path.walk(cnf["Dir::Root"], chk_bd_process_dir, None)
|
|
501 | + for dirpath, dirnames, filenames in os.walk(cnf["Dir::Root"]):
|
|
502 | + chk_bd_process_dir(dirpath, filenames)
|
|
502 | 503 | |
503 | 504 | ################################################################################
|
504 | 505 |