Skip to content

Broken on Python 2.7 due to super() #46

@mmabreu

Description

@mmabreu

It seems that 1.1.0 is broken on Python 2.7 due to using super() without arguments:

TypeError: super() takes at least 1 argument (0 given)
Logged from file init.py, line 57

Traceback (most recent call last):
File "/usr/local/lib/python2.7/logging/init.py", line 868, in emit
msg = self.format(record)
File "/usr/local/lib/python2.7/logging/init.py", line 741, in format
return fmt.format(record)
File "/usr/local/lib/python2.7/site-packages/json_logging/init.py", line 228, in format
log_object = self._format_log_object(record, request_util=_request_util)
File "/usr/local/lib/python2.7/site-packages/json_logging/init.py", line 326, in _format_log_object
json_log_object = super()._format_log_object(record, request_util)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions