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 | abe48d7a4ae5b446c1c253a3fb04ac36d3357fd5 (patch) | |
| tree | a9eec68ebcf78107d336eaaf5d07fc3675baad15 /lib | |
| parent | 6270997509a60ba9d721f1891339ca952d2cbf6e (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/branches/ruby_1_8@20245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -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 9030fa1d0d..df52e06ab3 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -170,8 +170,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 |
