summaryrefslogtreecommitdiff
path: root/lognotify.rb
diff options
context:
space:
mode:
authorDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2010-09-28 03:44:24 -0700
committerDavid Vazgenovich Shakaryan <dvshakaryan@gmail.com>2010-09-28 03:44:24 -0700
commitfc8bd34adb6763e236e960b36e52893f7f697add (patch)
tree73b1e654189970c5a4bc665bf0b88db0912aa6bd /lognotify.rb
parent1475d4085a97d1851d6c3b351596a4682cc0a479 (diff)
downloadlognotify-fc8bd34adb6763e236e960b36e52893f7f697add.tar.gz
lognotify-fc8bd34adb6763e236e960b36e52893f7f697add.tar.xz
Rename value variable.
Diffstat (limited to 'lognotify.rb')
-rwxr-xr-xlognotify.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lognotify.rb b/lognotify.rb
index affc9f2..1296506 100755
--- a/lognotify.rb
+++ b/lognotify.rb
@@ -21,14 +21,14 @@ def parse identifier
# Ignore empty lines and comments.
unless line.empty? or line[0,1] == '#'
- key, val = line.split('=', 2)
+ key, value = line.split('=', 2)
# Raise an error if line does not contain a key/value pair.
- if val.nil?
+ if value.nil?
raise 'Check line ' + contents.lineno.to_s + ' for errors.'
end
- conf[key.strip.to_sym] = val.strip
+ conf[key.strip.to_sym] = value.strip
end
end
end