Skip to content

Commit

Permalink
CR comment and update version
Browse files Browse the repository at this point in the history
  • Loading branch information
RouganStriker committed Aug 27, 2024
1 parent f42a9ac commit b654747
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions depocs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>"]
Expand Down

0 comments on commit b654747

Please sign in to comment.