Fix new rubocop warnings
This commit is contained in:
parent
7354c8eb13
commit
9f57f60b87
18 changed files with 80 additions and 80 deletions
|
@ -62,8 +62,8 @@ class Relation < ActiveRecord::Base
|
|||
return Relation.from_xml_node(pt, create)
|
||||
end
|
||||
raise OSM::APIBadXMLError.new("node", xml, "XML doesn't contain an osm/relation element.")
|
||||
rescue LibXML::XML::Error, ArgumentError => ex
|
||||
raise OSM::APIBadXMLError.new("relation", xml, ex.message)
|
||||
rescue LibXML::XML::Error, ArgumentError => e
|
||||
raise OSM::APIBadXMLError.new("relation", xml, e.message)
|
||||
end
|
||||
|
||||
def self.from_xml_node(pt, create = false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue