mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-04 14:30:30 +03:00
parent
0e025e2ae9
commit
294799e2f5
1 changed files with 2 additions and 2 deletions
|
|
@ -176,9 +176,9 @@ def scan_source(build_dir, build=metadata.Build()):
|
|||
return removeproblem(what, path_in_build_dir, filepath)
|
||||
if 'src/test' in filepath or '/test/' in filepath:
|
||||
return warnproblem(what, path_in_build_dir)
|
||||
if options and options.json:
|
||||
if options and 'json' in vars(options) and options.json:
|
||||
json_per_build['errors'].append([what, path_in_build_dir])
|
||||
if options and (options.verbose or not options.json):
|
||||
if options and (options.verbose or not ('json' in vars(options) and options.json)):
|
||||
logging.error('Found %s at %s' % (what, path_in_build_dir))
|
||||
return 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue