Skip to content

Commit 44cccee

Browse files
author
Will Silva
committed
moved print to stderr to logger function
* monkey patching logger will replace the print to stderr functionality instead of supplement it
1 parent 1824ade commit 44cccee

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

dronekit/util.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@
33

44

55
def errprinter(*args):
6-
print(*args, file=sys.stderr)
7-
sys.stderr.flush()
86
logger(*args)
97

108
def logger(*args):
11-
pass
9+
print(*args, file=sys.stderr)
10+
sys.stderr.flush()

0 commit comments

Comments
 (0)