backup.py

changeset 79
b075b3db3044
parent 78
83b43987e61e
equal deleted inserted replaced
78:83b43987e61e 79:b075b3db3044
3 # 3 #
4 4
5 import config 5 import config
6 import logging 6 import logging
7 import time 7 import time
8 import borgend 8 import loggers
9 import repository 9 import repository
10 import dreamtime 10 import dreamtime
11 from enum import IntEnum 11 from enum import IntEnum
12 from instance import BorgInstance 12 from instance import BorgInstance
13 from threading import Thread, Lock, Condition 13 from threading import Thread, Lock, Condition
14 from scheduler import TerminableThread 14 from scheduler import TerminableThread
15 15
16 logger=borgend.logger.getChild(__name__) 16 logger=loggers.get(__name__)
17 17
18 JOIN_TIMEOUT=60 18 JOIN_TIMEOUT=60
19 19
20 # 20 #
21 # State and operation related helper classes 21 # State and operation related helper classes

mercurial