summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-18 07:18:29 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-18 07:18:29 +0000
commitd0a123470507dbaaef48f43af13a429625aa0b87 (patch)
treefffe40cd50ba2332d1db2ea4eb7c22aaa35711cf /lib
parent0f52ce451b8c62eaa365093d1aee3ccd61e034eb (diff)
downloadruby-d0a123470507dbaaef48f43af13a429625aa0b87.tar.gz
ruby-d0a123470507dbaaef48f43af13a429625aa0b87.tar.xz
ruby-d0a123470507dbaaef48f43af13a429625aa0b87.zip
* lib/logger.rb (ProgName): fixed for svn, based on a patch from
Nobuhiro IMAI at [ruby-dev:37108]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/logger.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/logger.rb b/lib/logger.rb
index 5399e13ea..7d7c4eadd 100644
--- a/lib/logger.rb
+++ b/lib/logger.rb
@@ -181,8 +181,8 @@ require 'monitor'
class Logger
VERSION = "1.2.6"
- /: (\S+),v (\S+)/ =~ %q$Id$
- ProgName = "#{$1}/#{$2}"
+ id, name, rev = %w$Id$
+ ProgName = "#{name.chomp(",")}/#{rev}"
class Error < RuntimeError; end
class ShiftingError < Error; end