Skip to content

Commit 293a5cb

Browse files
MayeulCkunaltyagi
authored andcommitted
Fix syntax error due to line break
The code was not working previously on python2.7 (not after converting it with 2to3), so I am unsure how to provide a test case for this. Resolves #20
1 parent 6c4f876 commit 293a5cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nsiqcppstyle_exe.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -290,9 +290,9 @@ def main(argv=None):
290290
fileExtension = fname[fname.rfind('.') + 1:]
291291
eachFile = os.path.join(root, fname)
292292
basePart = eachFile[len(targetPath):]
293-
if fileExtension in cExtendstionSet and
293+
if (fileExtension in cExtendstionSet and
294294
basefilelist.IsNewOrChanged(eachFile) and
295-
filter.CheckFileInclusion(basePart):
295+
filter.CheckFileInclusion(basePart)):
296296
nsiqcppstyle_reporter.StartFile(os.path.dirname(basePart),
297297
fname)
298298
ProcessFile(ruleManager, eachFile, analyzedFiles)

0 commit comments

Comments
 (0)