safe_print now takes *args
lgz committed
Nov 5, 2017 at 01:18 UTC
172832dd0629955c4582975830431497d931b204
1 file changed
+3
-3
python.d/python_modules/bases/collection.py
+3
-3
@@ -52,12 +52,12 @@ def static_vars(**kwargs):
52
53
54
@on_try_except_finally(on_except=(exit, 1))
55
-def safe_print(msg):
55
+def safe_print(*msg):
56
"""
57
- :param msg: <str>
57
+ :param msg:
58
:return:
59
"""
60
- print(msg)
60
+ print(''.join(msg))
61
62
63
def find_binary(binary):