mirror of
https://github.com/RYDE-WORK/ballistica.git
synced 2026-02-07 16:13:23 +08:00
commit
702dc59a5f
@ -401,13 +401,13 @@ class DirectoryScan:
|
|||||||
if len(lines) > 1:
|
if len(lines) > 1:
|
||||||
self.results.warnings += (
|
self.results.warnings += (
|
||||||
'Warning: ' + str(subpath) +
|
'Warning: ' + str(subpath) +
|
||||||
': multiple "# ba_meta api require <NUM>" lines found;'
|
': multiple "# ba_meta require api <NUM>" lines found;'
|
||||||
' ignoring module.\n')
|
' ignoring module.\n')
|
||||||
elif not lines and toplevel and meta_lines:
|
elif not lines and toplevel and meta_lines:
|
||||||
# If we're a top-level module containing meta lines but
|
# If we're a top-level module containing meta lines but
|
||||||
# no valid api require, complain.
|
# no valid "require api" line found, complain.
|
||||||
self.results.warnings += (
|
self.results.warnings += (
|
||||||
'Warning: ' + str(subpath) +
|
'Warning: ' + str(subpath) +
|
||||||
': no valid "# ba_meta api require <NUM>" line found;'
|
': no valid "# ba_meta require api <NUM>" line found;'
|
||||||
' ignoring module.\n')
|
' ignoring module.\n')
|
||||||
return None
|
return None
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user