Merge branch 'unify_compilation_database_access' of https://github.com/Luflosi/kitty

This commit is contained in:
Kovid Goyal 2019-06-26 19:30:30 +05:30
commit 18335b3eac
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -428,7 +428,7 @@ class CompilationDatabase:
except FileNotFoundError:
compilation_database = []
compilation_database = {
CompileKey(k['file'], k.get('output')): k['arguments'] for k in compilation_database
CompileKey(k['file'], k['output']): k['arguments'] for k in compilation_database
}
self.db = compilation_database
return self