Fix error (use of undefined variable) found by pylint
Signed-off-by: David A. Wheeler <dwheeler@dwheeler.com>
This commit is contained in:
parent
48bad06778
commit
6c49d39c61
|
@ -1774,7 +1774,7 @@ def process_file_args(files, patch_infos):
|
||||||
# If on the command line, FORCE processing of it.
|
# If on the command line, FORCE processing of it.
|
||||||
# Currently, we only process C/C++.
|
# Currently, we only process C/C++.
|
||||||
# check if we only want to review a patch
|
# check if we only want to review a patch
|
||||||
if ((patch_infos is not None and k in patch_infos)
|
if ((patch_infos is not None and f in patch_infos)
|
||||||
or (patch_infos is None)):
|
or (patch_infos is None)):
|
||||||
process_c_file(f, patch_infos)
|
process_c_file(f, patch_infos)
|
||||||
elif os.path.isdir(f):
|
elif os.path.isdir(f):
|
||||||
|
|
Loading…
Reference in New Issue