Resolving a minor lint error

This commit is contained in:
Strahinja Val Markovic 2014-03-04 10:24:21 -08:00
parent 18829290a3
commit bdec814af9

View File

@ -128,8 +128,8 @@ class CsharpCompleter( Completer ):
foldername = '' foldername = ''
if len( filepath_components ) > len( solutionpath ): if len( filepath_components ) > len( solutionpath ):
foldername = filepath_components[ len( solutionpath ) ] foldername = filepath_components[ len( solutionpath ) ]
solution_file_candidates = [ solutionfile for solutionfile in solution_files solution_file_candidates = [ sfile for sfile in solution_files
if _GetFilenameWithoutExtension( solutionfile ) == foldername ] if _GetFilenameWithoutExtension( sfile ) == foldername ]
if len( solution_file_candidates ) == 1: if len( solution_file_candidates ) == 1:
solutionfile = solution_file_candidates[ 0 ] solutionfile = solution_file_candidates[ 0 ]
else: else: