aridity 103__tar.gz → 104__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aridity
3
- Version: 103
3
+ Version: 104
4
4
  Summary: DRY config and template system, easily extensible with Python
5
5
  Home-page: https://pypi.org/project/aridity/
6
6
  Author: foyono
@@ -262,8 +262,12 @@ class StaticScope(Scope):
262
262
  threadlocals = self.threadlocals
263
263
  try:
264
264
  return getattr(threadlocals, name)
265
- except AttributeError:
266
- stack = self.stacktypes[name](name)
265
+ except AttributeError as e:
266
+ try:
267
+ stacktype = self.stacktypes[name]
268
+ except KeyError:
269
+ raise e
270
+ stack = stacktype(name)
267
271
  setattr(threadlocals, name, stack)
268
272
  return stack
269
273
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: aridity
3
- Version: 103
3
+ Version: 104
4
4
  Summary: DRY config and template system, easily extensible with Python
5
5
  Home-page: https://pypi.org/project/aridity/
6
6
  Author: foyono
@@ -10,7 +10,7 @@ description = "DRY config and template system, easily extensible with Python"
10
10
  name = "aridity"
11
11
  readme = "README.md"
12
12
  requires-python = ">=3.11"
13
- version = "103"
13
+ version = "104"
14
14
 
15
15
  [project.scripts]
16
16
  aridity = "aridity.__init__:main"
@@ -49,7 +49,7 @@ class SourceInfo:
49
49
  sourceinfo = SourceInfo('.')
50
50
  setup(
51
51
  name = 'aridity',
52
- version = '103',
52
+ version = 104,
53
53
  description = 'DRY config and template system, easily extensible with Python',
54
54
  url = 'https://pypi.org/project/aridity/',
55
55
  author = 'foyono',
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes