You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a Scan runs that detects files that then do not match ANY rule, None is returned by ingest.scan.scanners.scanner._process_ingest by design. Not by design, is the fact that ingest.scan.scanners.scanner._process_scanned adds these None returned values from _ingest_file to the ingests list. (https://github.com/ngageoint/scale/blob/master/scale/ingest/scan/scanners/scanner.py#L172) We need to actually check for None before adding these.
The text was updated successfully, but these errors were encountered:
If a Scan runs that detects files that then do not match ANY rule,
None
is returned byingest.scan.scanners.scanner._process_ingest
by design. Not by design, is the fact thatingest.scan.scanners.scanner._process_scanned
adds theseNone
returned values from _ingest_file to theingests
list. (https://github.com/ngageoint/scale/blob/master/scale/ingest/scan/scanners/scanner.py#L172) We need to actually check forNone
before adding these.The text was updated successfully, but these errors were encountered: