summaryrefslogtreecommitdiff
path: root/lib/rss/xmlparser.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rss/xmlparser.rb')
-rw-r--r--lib/rss/xmlparser.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rss/xmlparser.rb b/lib/rss/xmlparser.rb
index aa902be396..6af157a2f2 100644
--- a/lib/rss/xmlparser.rb
+++ b/lib/rss/xmlparser.rb
@@ -20,7 +20,8 @@ end
module XML
class Parser
unless defined?(Error)
- Error = ::XMLParserError
+ # This erorr is legacy, so we just set it to the new one
+ Error = ::XMLParserError # :nodoc:
end
end
end