This is the final step towards a fully adapted dialout module and
gets rid simultaneously of outdated arnied cnfvar calls as well as
outdated cnf structure parsing in the new cnfvar API, both of which
will follow next.
import logging
log = logging.getLogger('pyi2ncommon.dial')
-from . import arnied_wrapper
from . import cnfvar
from . import sysmisc
("dialout_defaultprovider_ref", "1")])
def aux():
- return arnied_wrapper.set_cnf_pipe(cnf.to_cnf_structure(), block=block), "", None
+ store = cnfvar.BinaryCnfStore()
+ store.commit(cnf)
+ return True, "", None
if block is False:
- succ = aux()
+ succ, out, _ = aux()
return sysmisc.RUN_RESULT_OK if succ is True else sysmisc.RUN_RESULT_FAIL
res, err = sysmisc.cmd_block_till(aux, DIALTOOLS_TIMEOUT, _connd_online,