Skip to content

Latest Python 3 Compat Change Broke my output #275

@jusrob

Description

@jusrob

Change b55a4c8 broke dogwrap logging on our systems.

Exception in thread Thread-1:
Traceback (most recent call last):
File "/usr/lib64/python2.7/threading.py", line 804, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/site-packages/datadog/dogshell/wrap.py", line 68, in run
print >> sys.stderr, self._fwd_out.encode('utf8')
AttributeError: 'file' object has no attribute 'encode'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions