mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-23 14:52:26 +00:00
trivial: fix comment
This commit is contained in:
parent
a2f34b4e1a
commit
77b578928e
@ -24,10 +24,9 @@ def parse_old_timestamp(s, options):
|
||||
try:
|
||||
if not s.endswith("Z"):
|
||||
raise ValueError
|
||||
# the "local" in this "localseconds" is superfluous and
|
||||
# misleading. This returns seconds-since-epoch for an
|
||||
# ISO-8601-ish-formatted UTC time string. This might raise
|
||||
# ValueError if the string is not in the right format.
|
||||
# This returns seconds-since-epoch for an ISO-8601-ish-formatted UTC
|
||||
# time string. This might raise ValueError if the string is not in the
|
||||
# right format.
|
||||
when = time_format.iso_utc_time_to_seconds(s[:-1])
|
||||
return when
|
||||
except ValueError:
|
||||
|
Loading…
Reference in New Issue
Block a user