aboutsummaryrefslogtreecommitdiff
path: root/widgets/cpuinf.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-15 17:55:25 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-15 17:55:25 +0100
commit0299c15dc0869a12ceec947e6e51088bb88da56d (patch)
treee1989cb5e9fe5ea1e0edaed0754265a4056690c4 /widgets/cpuinf.lua
parent4fc6dffe94d01a4696bf1f7420b79b05ecf5d35c (diff)
downloadvicious-legacy-0299c15dc0869a12ceec947e6e51088bb88da56d.tar.xz
widgets: minor cleanup before a tag in cpuinf, fs, mbox...
Diffstat (limited to 'widgets/cpuinf.lua')
-rw-r--r--widgets/cpuinf.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/cpuinf.lua b/widgets/cpuinf.lua
index 8bee530..b925b27 100644
--- a/widgets/cpuinf.lua
+++ b/widgets/cpuinf.lua
@@ -18,9 +18,8 @@ module("vicious.widgets.cpuinf")
-- {{{ CPU Information widget type
local function worker(format)
local id = nil
- local cpu_info = {}
- -- Get CPU info
+ local cpu_info = {} -- Get CPU info
for line in io.lines("/proc/cpuinfo") do
for k, v in string.gmatch(line, "([%a%s]+)[%s]+:[%s]([%d]+).-$") do
if k == "processor" then