From b654747c2fc461c33b4e196f07dab06833cd9089 Mon Sep 17 00:00:00 2001 From: Kelvin Chan Date: Tue, 27 Aug 2024 14:54:03 -0400 Subject: [PATCH] CR comment and update version --- depocs/__init__.py | 4 +--- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/depocs/__init__.py b/depocs/__init__.py index 1585b7b..a19943d 100644 --- a/depocs/__init__.py +++ b/depocs/__init__.py @@ -240,12 +240,10 @@ def open(self, call_site_level=1): self._Scoped__is_used = True try: - frame = sys._getframe(call_site_level) + self._Scoped__open_site_frame = sys._getframe(call_site_level) except ValueError: # No frame found, skip pass - else: - self._Scoped__open_site_frame = frame return self diff --git a/pyproject.toml b/pyproject.toml index 90084bd..24ee998 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "depocs" -version = "2.0.0.dev1" +version = "2.1.0" homepage = "https://github.com/sdelements/depocs" description = "Scoped thread-local mixin class" authors = ["Security Compass "]