Skip to content

Commit

Permalink
Remove the error string condition
Browse files Browse the repository at this point in the history
  • Loading branch information
David Bouchare committed Sep 27, 2019
1 parent 883eed4 commit 34bd311
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions datadog/dogshell/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,7 @@

def print_err(msg):
if is_p3k():
if 'ERROR' in msg:
print(msg + '\n', file=sys.stderr)
else:
print('ERROR: ' + msg + '\n', file=sys.stderr)
print('ERROR: ' + msg + '\n', file=sys.stderr)
else:
sys.stderr.write(msg + '\n')

Expand Down

0 comments on commit 34bd311

Please sign in to comment.