summaryrefslogtreecommitdiff
path: root/sources/projects
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2015-03-09 08:13:10 +0100
committerJochen Topf <jochen@topf.org>2015-03-09 08:13:10 +0100
commit3bbc13dc420a11fc92a61be52badec7971cda6e2 (patch)
tree0a59698cf41eaf212f163cc0c4b1b3cfb9c16206 /sources/projects
parenta2ce2ec5448a98678cdaeb99b673e11ffcc8845f (diff)
downloadtaginfo-3bbc13dc420a11fc92a61be52badec7971cda6e2.tar
taginfo-3bbc13dc420a11fc92a61be52badec7971cda6e2.tar.gz
Remove superfluous semikolons at end of lines.
You know you have been programming in C++ for too long when...
Diffstat (limited to 'sources/projects')
-rwxr-xr-xsources/projects/import.rb4
-rwxr-xr-xsources/projects/parse.rb2
2 files changed, 3 insertions, 3 deletions
diff --git a/sources/projects/import.rb b/sources/projects/import.rb
index 5b1f0b4..d171244 100755
--- a/sources/projects/import.rb
+++ b/sources/projects/import.rb
@@ -71,7 +71,7 @@ projects.each do |id, url|
response.body,
(response.code == '200' ? 'OK' : 'FETCH ERROR'),
last_modified
- );
+ )
rescue
db.execute("INSERT INTO projects (id, json_url, fetch_date, fetch_status, status) VALUES (?, ?, ?, ?, ?)",
id,
@@ -79,7 +79,7 @@ projects.each do |id, url|
Time.now.utc.iso8601,
500,
'FETCH ERROR'
- );
+ )
end
end
diff --git a/sources/projects/parse.rb b/sources/projects/parse.rb
index f077a70..70f2d68 100755
--- a/sources/projects/parse.rb
+++ b/sources/projects/parse.rb
@@ -194,7 +194,7 @@ def parse_and_check(id, data, log, db)
on['way'],
on['relation'],
on['area'],
- );
+ )
end
end
end