instance.py

changeset 34
9fce700d42de
parent 32
06fc14211ba9
child 74
4f56142e7497
equal deleted inserted replaced
33:91421eeb4426 34:9fce700d42de
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 from subprocess import Popen, PIPE 9 from subprocess import Popen, PIPE
9 from config import settings, arglistify 10 from config import settings, arglistify
10 11
11 logger=logging.getLogger(__name__) 12 logger=borgend.logger.getChild(__name__)
12 13
13 necessary_opts=['--log-json', '--progress'] 14 necessary_opts=['--log-json', '--progress']
14 15
15 necessary_opts_for={ 16 necessary_opts_for={
16 'create': ['--json'], 17 'create': ['--json'],

mercurial