new: basic arbtt module

This commit is contained in:
Dima Gerasimov 2021-02-22 19:54:28 +00:00 committed by karlicoss
parent ad924ebca8
commit 86497f9b13
7 changed files with 107 additions and 3 deletions

View file

@ -4,6 +4,7 @@ from .common import get_files
from .common import LazyLogger
from .common import warn_if_empty
from .common import stat, Stats
from .common import datetime_naive, datetime_aware
from .cfg import make_config
from .util import __NOT_HPI_MODULE__

View file

@ -552,3 +552,7 @@ def to_jsons(it) -> Iterable[Json]:
yield error_to_json(r)
else:
yield asdict(r)
datetime_naive = datetime
datetime_aware = datetime