Skip to content

Commit 8b6f9c5

Browse files
committed
utils: reword last_modified() docstring
1 parent 95751f7 commit 8b6f9c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/rift/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ def download_file(url, output):
6969

7070
def last_modified(url):
7171
"""
72-
Return number of seconds since epoch of Last-Modified header for the given
73-
URL. By convention, Last-Modified is always in GMT/UTC timezone. Raises
74-
RiftError when unable to get or convert Last-Modified header to timestamp.
72+
Return the mtime of the URL using the Last-Modified header. By convention,
73+
Last-Modified is always in GMT/UTC timezone. Raises RiftError when unable to
74+
get or convert Last-Modified header to timestamp.
7575
"""
7676
req = urllib.request.Request(url, method='HEAD')
7777

0 commit comments

Comments
 (0)