Skip to content

Commit

Permalink
Removed static method from decorators
Browse files Browse the repository at this point in the history
  • Loading branch information
turetske committed Nov 4, 2024
1 parent b1f45ba commit f949faa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/pelicanfs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,6 @@ def _bad_cache(self, url: str):
return
namespace_info.bad_cache(bad_cache)

@staticmethod
def _dirlist_dec(func):
"""
Decorator function which, when given a namespace location, gets the url for the dirlist
Expand Down Expand Up @@ -585,7 +584,6 @@ async def open_async(self, path, **kwargs):
fp.read = self._async_io_wrapper(fp.read)
return fp

@staticmethod
def _cache_dec(func):
"""
Decorator function which, when given a namespace location, finds the best working cache
Expand All @@ -612,7 +610,6 @@ async def wrapper(self, *args, **kwargs):

return wrapper

@staticmethod
def _cache_multi_dec(func):
"""
Decorator function which, when given a list of namespace location, finds the best
Expand Down

0 comments on commit f949faa

Please sign in to comment.