Another small fix to remove port.py warning.

This commit is contained in:
Vishal 2024-12-08 17:02:20 +05:30 committed by GitHub
parent d5957adb35
commit cdf47179bb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -327,7 +327,7 @@ class DirectoryScan:
meta_lines = { meta_lines = {
lnum: l[1:].split() lnum: l[1:].split()
for lnum, l in enumerate(flines) for lnum, l in enumerate(flines)
if '# ba_meta ' in l if l.startswith('# ba_meta ')
} }
is_top_level = len(subpath.parts) <= 1 is_top_level = len(subpath.parts) <= 1
required_api = self._get_api_requirement( required_api = self._get_api_requirement(