aboutsummaryrefslogtreecommitdiffstats
path: root/lib/logger.rb
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
commitb7ac5b1262a402fce6ecbe94f12d0a381b4d0479 (patch)
treefffe40cd50ba2332d1db2ea4eb7c22aaa35711cf /lib/logger.rb
parent9d2ecf3d905bf8d304b9bf42a2046f04bdf2738e (diff)
downloadruby-b7ac5b1262a402fce6ecbe94f12d0a381b4d0479.tar.gz
* lib/logger.rb (ProgName): fixed for svn, based on a patch from
Nobuhiro IMAI at [ruby-dev:37108]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/logger.rb')
-rw-r--r--lib/logger.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/logger.rb b/lib/logger.rb
index 5399e13ead..7d7c4eadd7 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