mirror of
https://github.com/netinvent/npbackup.git
synced 2025-10-19 09:56:39 +08:00
Moved fn_name to ofunctions.misc
This commit is contained in:
parent
885f28c6f7
commit
92a9700a29
2 changed files with 3 additions and 6 deletions
|
@ -2,7 +2,7 @@ command_runner>=1.6.0
|
|||
cryptidy>=1.2.2
|
||||
python-dateutil
|
||||
ofunctions.logger_utils>=2.4.1
|
||||
ofunctions.misc>=1.7.2
|
||||
ofunctions.misc>=1.8.0
|
||||
ofunctions.process>=2.0.0
|
||||
ofunctions.threading>=2.2.0
|
||||
ofunctions.platform>=1.5.0
|
||||
|
|
|
@ -7,7 +7,7 @@ __intname__ = "npbackup.restic_wrapper"
|
|||
__author__ = "Orsiris de Jong"
|
||||
__copyright__ = "Copyright (C) 2022-2024 NetInvent"
|
||||
__license__ = "GPL-3.0-only"
|
||||
__build__ = "2024042401"
|
||||
__build__ = "2024042402"
|
||||
__version__ = "2.0.2"
|
||||
|
||||
|
||||
|
@ -22,7 +22,7 @@ import dateutil.parser
|
|||
import queue
|
||||
from functools import wraps
|
||||
from command_runner import command_runner
|
||||
from ofunctions.misc import BytesConverter
|
||||
from ofunctions.misc import BytesConverter, fn_name
|
||||
from npbackup.__debug__ import _DEBUG
|
||||
from npbackup.__env__ import FAST_COMMANDS_TIMEOUT, CHECK_INTERVAL
|
||||
|
||||
|
@ -30,9 +30,6 @@ from npbackup.__env__ import FAST_COMMANDS_TIMEOUT, CHECK_INTERVAL
|
|||
logger = getLogger()
|
||||
|
||||
|
||||
fn_name = lambda n=0: sys._getframe(n + 1).f_code.co_name # TODO go to ofunctions.misc
|
||||
|
||||
|
||||
class ResticRunner:
|
||||
def __init__(
|
||||
self,
|
||||
|
|
Loading…
Add table
Reference in a new issue