From bdec814af913868378f34942bc27740954358e82 Mon Sep 17 00:00:00 2001 From: Strahinja Val Markovic Date: Tue, 4 Mar 2014 10:24:21 -0800 Subject: [PATCH] Resolving a minor lint error --- python/ycm/completers/cs/cs_completer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/ycm/completers/cs/cs_completer.py b/python/ycm/completers/cs/cs_completer.py index 4194ac0f..8092e47a 100755 --- a/python/ycm/completers/cs/cs_completer.py +++ b/python/ycm/completers/cs/cs_completer.py @@ -128,8 +128,8 @@ class CsharpCompleter( Completer ): foldername = '' if len( filepath_components ) > len( solutionpath ): foldername = filepath_components[ len( solutionpath ) ] - solution_file_candidates = [ solutionfile for solutionfile in solution_files - if _GetFilenameWithoutExtension( solutionfile ) == foldername ] + solution_file_candidates = [ sfile for sfile in solution_files + if _GetFilenameWithoutExtension( sfile ) == foldername ] if len( solution_file_candidates ) == 1: solutionfile = solution_file_candidates[ 0 ] else: