From 745963fee5b2fd4da7ef296a329686c85ea62425 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Fri, 30 Oct 2009 15:14:27 +0000 Subject: Removed bad line from file change list by tightening regexp. --- lbu-model.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lbu-model.lua b/lbu-model.lua index 19217e1..204d958 100644 --- a/lbu-model.lua +++ b/lbu-model.lua @@ -28,7 +28,7 @@ local function getLbuStatus() for line in f:lines() do if (string.match(line, "^Include files")) then break end if (string.match(line, "^Exclude files")) then break end - local status, name = string.match(line, "^(%S+)%s+(.+)$") + local status, name = string.match(line, "^(%S)%s+(.+)$") if (status) and (name) then ret[string.gsub('/' .. name, "/+", "/")] = status end -- cgit v1.2.3