Skip to content

Commit

Permalink
Merge pull request #22 from SomeoneElseOSM/nanny_knows_best
Browse files Browse the repository at this point in the history
Change http links to e.g. planet.osm.org to https.
ethan-nelson authored May 31, 2018
2 parents 47740e1 + b1d3fc1 commit e964b71
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions osmhm/fetch.py
Original file line number Diff line number Diff line change
@@ -56,13 +56,13 @@ def fetch_next(current_sequence='', time_type='hour', reset=False):
"""
if reset is True:
state_url = ("http://planet.openstreetmap.org/replication/"
state_url = ("https://planet.openstreetmap.org/replication/"
"%s/state.txt") % (time_type)

else:
next_sequence = int(current_sequence) + 1
sequence_string = str(next_sequence).zfill(9)
state_url = ("http://planet.openstreetmap.org/replication/"
state_url = ("https://planet.openstreetmap.org/replication/"
"%s/%s/%s/%s.state.txt") % (time_type,
sequence_string[0:3], sequence_string[3:6],
sequence_string[6:9])
10 changes: 5 additions & 5 deletions osmhm/send_notification.py
Original file line number Diff line number Diff line change
@@ -29,8 +29,8 @@ def send_notification(notify_list, notification_type, notifier=send_mail):
**User alert**
Time of event: %s
Username: http://www.osm.org/user/%s
Changeset: http://www.osm.org/changeset/%s
Username: https://www.openstreetmap.org/user/%s
Changeset: https://www.openstreetmap.org/changeset/%s
Additions: %s
Modifications: %s
Deletions: %s
@@ -65,10 +65,10 @@ def send_notification(notify_list, notification_type, notifier=send_mail):
**Object alert**
Time of event: %s
Object: http://www.osm.org/%s/%s
Changeset: http://www.osm.org/changeset/%s
Object: https://www.openstreetmap.org/%s/%s
Changeset: https://www.openstreetmap.org/changeset/%s
Action: %s
User performing: http://www.osm.org/user/%s
User performing: https://www.openstreetmap.org/user/%s
Reason object is watched: %s
Problem? Feedback? Reply to this message.

0 comments on commit e964b71

Please sign in to comment.