11:26 <@razor> Dwarf: ./ripnews.rb:257: warning: regexp has `}' without escape
This commit is contained in:
parent
b39756813c
commit
007775c576
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/local/bin/ruby -w
|
||||
|
||||
# $Dwarf: ripnews.rb,v 1.96 2005/02/02 09:11:28 ward Exp $
|
||||
# $Dwarf: ripnews.rb,v 1.97 2005/02/02 09:25:12 ward Exp $
|
||||
# $Source$
|
||||
|
||||
#
|
||||
|
|
@ -254,7 +254,7 @@ def parse_config(default = {})
|
|||
grouparr.collect{|g|
|
||||
config[g] = {} unless config.has_key?(g)
|
||||
}
|
||||
elsif line =~ /^}$/
|
||||
elsif line =~ /^\}$/
|
||||
default.each_key{|x|
|
||||
grouparr.collect{|g|
|
||||
config[g][x] = default[x] unless config[g].has_key?(x)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue