Skip to content

Commit 7b4b01a

Browse files
author
Luke Bakken
committed
clean up multi-line string
1 parent 5686482 commit 7b4b01a

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

riak/util.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,9 @@ def unix_time_millis(dt):
1919

2020
def datetime_from_unix_time_millis(ut):
2121
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')
22+
raise ValueError('unix timestamp must not be a float, '
23+
'it must be total milliseconds since '
24+
'epoch as an integer')
2425
utms = ut / 1000.0
2526
return datetime.datetime.utcfromtimestamp(utms)
2627

0 commit comments

Comments
 (0)