Skip to content

@no_flood to eliminate identical function calls

Compare
Choose a tag to compare
@deajan deajan released this 07 Nov 17:24
· 145 commits to master since this release

This minor release mainly adds @no_flood decorator

Features

threading

  • Added @no_flood decorator to eliminate multiple calls to the same function

logger_utils

  • Replace multiprocess_formatter bool with formatter_insert str so we can insert virtually any logger format we want

Fixes

threading

  • Fixed @threading decorator for Python 3.3+ (use daemon=True)

file_utils

  • Fixed remove_files_on_timestamp_delta() which included directories and obviously failed
  • More Python 2.7 fixes