forked from pool/python-opencensus-ext-azure
- Convert to pip-based build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-opencensus-ext-azure?expand=0&rev=14
This commit is contained in:
14
python313.patch
Normal file
14
python313.patch
Normal file
@@ -0,0 +1,14 @@
|
||||
Index: opencensus-python-0.11.4-1.1.14/contrib/opencensus-ext-azure/opencensus/ext/azure/log_exporter/__init__.py
|
||||
===================================================================
|
||||
--- opencensus-python-0.11.4-1.1.14.orig/contrib/opencensus-ext-azure/opencensus/ext/azure/log_exporter/__init__.py
|
||||
+++ opencensus-python-0.11.4-1.1.14/contrib/opencensus-ext-azure/opencensus/ext/azure/log_exporter/__init__.py
|
||||
@@ -102,9 +102,6 @@ class BaseLogHandler(logging.Handler):
|
||||
self._worker.stop(timeout)
|
||||
super(BaseLogHandler, self).close()
|
||||
|
||||
- def createLock(self):
|
||||
- self.lock = None
|
||||
-
|
||||
def emit(self, record):
|
||||
self._queue.put(record, block=False)
|
||||
|
||||
Reference in New Issue
Block a user