summaryrefslogtreecommitdiff
path: root/lib/rubygems/old_format.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/old_format.rb')
-rw-r--r--lib/rubygems/old_format.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/old_format.rb b/lib/rubygems/old_format.rb
index 43967db..4cbff51 100644
--- a/lib/rubygems/old_format.rb
+++ b/lib/rubygems/old_format.rb
@@ -143,7 +143,7 @@ class Gem::OldFormat
end
yield [entry, Zlib::Inflate.inflate(file_data.strip.unpack("m")[0])]
end
- rescue Zlib::DataError => e
+ rescue Zlib::DataError
raise Gem::Exception, errstr
end
end