core: add __NOT_HPI_MODULE__ flag to mark utility files etc

(more of an intermediate solution perhaps)
This commit is contained in:
Dima Gerasimov 2020-09-29 15:22:30 +01:00 committed by karlicoss
parent 3b9941e9ee
commit fd41caa640
12 changed files with 48 additions and 56 deletions

View file

@ -84,3 +84,5 @@ def dt_from_path(p: Path) -> Optional[datetime]:
return None
dates = mm.group(1) + mm.group(2)
return datetime.strptime(dates, "%Y%m%d%H%M%S")
from ..core import __NOT_HPI_MODULE__