Skip to content
This repository was archived by the owner on Sep 17, 2025. It is now read-only.

Commit 00f0b9d

Browse files
committed
lint
1 parent 1560512 commit 00f0b9d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

contrib/opencensus-ext-azure/opencensus/ext/azure/log_exporter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __init__(self, **options):
6464
self._queue = Queue(capacity=self.options.queue_capacity)
6565
self._worker = Worker(self._queue, self)
6666
self._worker.start()
67-
# atexit.register(self.close, self.options.grace_period)
67+
atexit.register(self.close, self.options.grace_period)
6868
# start statsbeat on exporter instantiation
6969
if not os.environ.get("APPLICATIONINSIGHTS_STATSBEAT_DISABLED_ALL"):
7070
statsbeat_metrics.collect_statsbeat_metrics(self.options)

contrib/opencensus-ext-azure/opencensus/ext/azure/metrics_exporter/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ def __init__(self, is_stats=False, **options):
5858
retention_period=self.options.storage_retention_period,
5959
source=self.__class__.__name__,
6060
)
61-
self._atexit_handler = atexit.register(self.shutdown, self.options.grace_period)
61+
self._atexit_handler = atexit.register(
62+
self.shutdown, self.options.grace_period)
6263
self.exporter_thread = None
6364
# For redirects
6465
self._consecutive_redirects = 0 # To prevent circular redirects

0 commit comments

Comments
 (0)