diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-18 07:18:29 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-11-18 07:18:29 +0000 |
commit | b7ac5b1262a402fce6ecbe94f12d0a381b4d0479 (patch) | |
tree | fffe40cd50ba2332d1db2ea4eb7c22aaa35711cf /lib/logger.rb | |
parent | 9d2ecf3d905bf8d304b9bf42a2046f04bdf2738e (diff) |
* 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.rb | 4 |
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 |