instance.py

changeset 79
b075b3db3044
parent 74
4f56142e7497
equal deleted inserted replaced
78:83b43987e61e 79:b075b3db3044
3 # 3 #
4 4
5 import json 5 import json
6 import logging 6 import logging
7 import os 7 import os
8 import borgend 8 import loggers
9 from config import settings 9 from config import settings
10 from subprocess import Popen, PIPE 10 from subprocess import Popen, PIPE
11 11
12 logger=borgend.logger.getChild(__name__) 12 logger=loggers.get(__name__)
13 13
14 necessary_opts=['--log-json', '--progress'] 14 necessary_opts=['--log-json', '--progress']
15 15
16 necessary_opts_for={ 16 necessary_opts_for={
17 'create': ['--json'], 17 'create': ['--json'],

mercurial