Permalink
Browse files

Search for all file statements with phpcc, for #8

This gets round the problem of sub-project XML child nodes.
  • Loading branch information...
1 parent 023c6a7 commit bd94b8f46d1a3ec4be09b740f7702cd4ecc8884a @joonty committed Apr 9, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 plugin/python/codecoverage.vim
@@ -41,7 +41,7 @@ try:
mtime = time.ctime(os.path.getmtime(clover))
ctxt = doc.xpathNewContext()
- res = ctxt.xpathEval("/coverage/project/file[@name='"+fileName+"']/line[@type='stmt']")
+ res = ctxt.xpathEval("//file[@name='"+fileName+"']/line[@type='stmt']")
cur_signs = int(vim.eval('g:phpqa_num_cc_signs'))
showcovered = int(vim.eval('g:phpqa_codecoverage_showcovered'))
cmd_list = ''

0 comments on commit bd94b8f

Please sign in to comment.