Skip to content

Commit

Permalink
Fix functools.lru_cache usage
Browse files Browse the repository at this point in the history
  • Loading branch information
knoepfel committed May 30, 2024
1 parent 8c3cb0e commit 785520c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/fnal-github-package/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import functools

# Python versions older than 3.9 do not support functools.cache
cache_property = getattr(functools, "cache", functools.lru_cache)
cache_property = getattr(functools, "cache", functools.lru_cache())

RE_VERSION = re.compile(r"^v")
RE_UPS_STYLE = re.compile(r"^v(\d+)(_\d+)*.*")
Expand Down

0 comments on commit 785520c

Please sign in to comment.