]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/planet/files/default/replication-bin/replicate-changesets
Convert various links to https
[chef.git] / cookbooks / planet / files / default / replication-bin / replicate-changesets
index 3cf54291ff26eb4305eca4ee3d40b5d70f6fda6f..cbf34515bb84ec8c4cefddb0b22b68ec31691bb7 100755 (executable)
@@ -187,7 +187,7 @@ class Replicator
     { "version" => "0.6",
       "generator" => "replicate_changesets.rb",
       "copyright" => "OpenStreetMap and contributors",
-      "attribution" => "http://www.openstreetmap.org/copyright",
+      "attribution" => "https://www.openstreetmap.org/copyright",
       "license" => "http://opendatacommons.org/licenses/odbl/1-0/" }
       .each { |k, v| doc.root[k] = v }
 
@@ -277,7 +277,7 @@ class Replicator
         move_tmp_files_into_place!
 
         fl.flock(File::LOCK_UN)
-      rescue
+      rescue StandardError
         STDERR.puts("Error! Couldn't update state.")
         fl.flock(File::LOCK_UN)
         raise