Merge pull request #259 from dpavlin/fileinfo_duplication

fileinfo doesn't reset results
This commit is contained in:
{Qingping,Dave} Hou
2012-09-09 06:33:48 -07:00

View File

@@ -32,6 +32,7 @@ end
function FileInfo:init(path, fname)
self.pathfile = path.."/"..fname
self.result = {}
-- add commands only once
if not self.commands then
self:addAllCommands()