Skip to content

Commit f72769b

Browse files
author
Trevor Martin
committed
websocket-client recipe
1 parent 7850a93 commit f72769b

File tree

1 file changed

+8
-12
lines changed

1 file changed

+8
-12
lines changed
Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,29 @@
1-
Binary files websocket/.DS_Store and websocket-patch/.DS_Store differ
2-
diff -ruN websocket/_logging.py websocket-patch/_logging.py
3-
--- websocket/_logging.py 2016-10-02 21:35:05.000000000 -0400
4-
+++ websocket-patch/_logging.py 2017-04-10 15:01:56.000000000 -0400
1+
--- a/websocket/_logging.py 2016-10-02 21:35:05.000000000 -0400
2+
+++ b/websocket/_logging.py 2017-04-13 21:17:34.539598154 -0400
53
@@ -19,9 +19,10 @@
64
Boston, MA 02110-1335 USA
75

86
"""
97
-import logging
108
-
119
-_logger = logging.getLogger('websocket')
12-
+# import logging
10+
+#import logging
1311
+from kivy.logger import Logger
14-
+# _logger = logging.getLogger('websocket')
12+
+#_logger = logging.getLogger('websocket')
1513
+_logger = Logger
1614
_traceEnabled = False
1715

1816
__all__ = ["enableTrace", "dump", "error", "debug", "trace",
19-
@@ -67,8 +68,10 @@
17+
@@ -67,8 +68,9 @@
2018

2119

2220
def isEnabledForError():
2321
- return _logger.isEnabledFor(logging.ERROR)
22+
-
23+
+# return _logger.isEnabledFor(logging.ERROR)
2424
+ return True
25-
+ # return _logger.isEnabledFor(logging.ERROR)
26-
2725

2826
def isEnabledForDebug():
2927
- return _logger.isEnabledFor(logging.DEBUG)
28+
+# return _logger.isEnabledFor(logging.DEBUG)
3029
+ return True
31-
+ # return _logger.isEnabledFor(logging.DEBUG)
32-
Binary files websocket/tests/__init__.pyc and websocket-patch/tests/__init__.pyc differ
33-
Binary files websocket/tests/test_websocket.pyc and websocket-patch/tests/test_websocket.pyc differ

0 commit comments

Comments
 (0)