From: Shaun McDonald Date: Mon, 2 Jun 2008 15:22:17 +0000 (+0000) Subject: Fixing indentation X-Git-Tag: live~7577^2~331 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/b8a7d956bfe177e5b576ba6cfc9cb8a7eff5ec83 Fixing indentation --- diff --git a/app/models/node.rb b/app/models/node.rb index e610758aa..29b1d0b0a 100644 --- a/app/models/node.rb +++ b/app/models/node.rb @@ -57,7 +57,7 @@ class Node < GeoRecord doc = p.parse doc.find('//osm/node').each do |pt| - return Node.from_xml_node(pt, create) + return Node.from_xml_node(pt, create) end rescue return nil @@ -75,7 +75,7 @@ class Node < GeoRecord unless create if pt['id'] != '0' - node.id = pt['id'].to_i + node.id = pt['id'].to_i end end @@ -85,7 +85,7 @@ class Node < GeoRecord node.timestamp = Time.now else if pt['timestamp'] - node.timestamp = Time.parse(pt['timestamp']) + node.timestamp = Time.parse(pt['timestamp']) end end