Skip to content

Commit

Permalink
Fix stickler styling issues
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed May 4, 2020
1 parent e4a1623 commit 65c1ff7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions trollsift/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,6 @@ def _convert(convdef, stri):
return result



@lru_cache()
def get_convert_dict(fmt):
"""Retrieve parse definition from the format string `fmt`."""
Expand Down Expand Up @@ -587,10 +586,10 @@ def is_one2one(fmt):

def purge():
"""Clear internal caches.
Not needed normally, but can be used to force cache clear when memory
is very limited.
"""
regex_formatter.format.cache_clear()
get_convert_dict.cache_clear()

0 comments on commit 65c1ff7

Please sign in to comment.