core: add @warn_if_empty decorator

This commit is contained in:
Dima Gerasimov 2020-05-24 22:20:29 +01:00
parent af814df8e9
commit 4b22d17188
3 changed files with 61 additions and 2 deletions

View file

@ -1,4 +1,5 @@
# this file only keeps the most common & critical types/utility functions
from .common import PathIsh, Paths, Json
from .common import get_files, LazyLogger
from .common import warn_if_empty
from .cfg import make_config