We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5686482 commit 7b4b01aCopy full SHA for 7b4b01a
1 file changed
riak/util.py
@@ -19,8 +19,9 @@ def unix_time_millis(dt):
19
20
def datetime_from_unix_time_millis(ut):
21
if isinstance(ut, float):
22
- raise ValueError('unix timestamp must not be a float, \
23
- it must be total milliseconds since epoch as an integer')
+ raise ValueError('unix timestamp must not be a float, '
+ 'it must be total milliseconds since '
24
+ 'epoch as an integer')
25
utms = ut / 1000.0
26
return datetime.datetime.utcfromtimestamp(utms)
27
0 commit comments