8000 Cut line length down to <80 characters · panta/fluent-logger-python@b4e69fc · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit b4e69fc

Browse files
committed
Cut line length down to <80 characters
As recommended by PEP8.
1 parent 8dee055 commit b4e69fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

fluent/sender.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ class EventTime(msgpack.ExtType):
3636
def __new__(cls, timestamp):
3737
seconds = int(timestamp)
3838
nanoseconds = int(timestamp % 1 * 10 ** 9)
39-
return super(EventTime, cls).__new__(cls, code=0, data=struct.pack(">II", seconds, nanoseconds))
39+
return super(EventTime, cls).__new__(
40+
cls,
41+
code=0,
42+
data=struct.pack(">II", seconds, nanoseconds),
43+
)
4044

4145

4246
class FluentSender(object):

0 commit comments

Comments
 (0)
0