mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-python
synced 2026-01-15 09:53:32 +01:00
misc.py: from . import log
Do "from . import log" instead of "from jwutils import log". It works and looks cleaner than a module referencing itself. Not entirely sure if that's the way to go, I must admit. Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
56357ae0a3
commit
a52557570b
1 changed files with 3 additions and 3 deletions
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
import os, errno, atexit, tempfile, filecmp, inspect, importlib, re
|
||||
|
||||
from typing import Set, Iterable
|
||||
from typing import Iterable
|
||||
|
||||
from jwutils import log
|
||||
from . import log
|
||||
|
||||
_tmpfiles: Set[str] = set()
|
||||
_tmpfiles: set[str] = set()
|
||||
|
||||
def _cleanup():
|
||||
for f in _tmpfiles:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue