Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
Delint
Browse files Browse the repository at this point in the history
  • Loading branch information
bhs committed Sep 22, 2016
1 parent ab1af16 commit 2614cef
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions opentracing/span.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,11 +218,11 @@ def log_event(self, event, payload=None):
def log(self, **kwargs):
"""DEPRECATED"""
key_values = {}
if kwargs["event"] is not None:
key_values["event"] = kwargs["event"]
if kwargs["payload"] is not None:
key_values["payload"] = kwargs["payload"]
if kwargs['event'] is not None:
key_values['event'] = kwargs['event']
if kwargs['payload'] is not None:
key_values['payload'] = kwargs['payload']
timestamp = None
if kwargs["timestamp"] is not None:
timestamp = kwargs["timestamp"]
if kwargs['timestamp'] is not None:
timestamp = kwargs['timestamp']
return self.log_kv(key_values, timestamp)

0 comments on commit 2614cef

Please sign in to comment.