# Own modules
from fb_tools.common import pp, to_str, to_bool
+from fb_tools.app import BaseApplication
+
from .pdns_app import PpPDNSAppError, PpPDNSApplication
from .pidfile import PidFileError, PidFile
LOG.info(_("Trying to get all keys from named.conf ..."))
- LOG.info(_("Checking syntax correctness of named.conf ..."))
cmd = shlex.split(str(self.cmd_checkconf))
cmd.append('-p')
cmd_str = ' '.join(map(lambda x: pipes.quote(x), cmd))
LOG.debug(_("Executing: {}").format(cmd_str))
- result = self.run(
+ result = super(BaseApplication, self).run(
cmd, stdout=PIPE, stderr=PIPE, timeout=10, check=True, may_simulate=False)
+
+# result = self.run(
+# cmd, stdout=PIPE, stderr=PIPE, timeout=10, check=True, may_simulate=False)
if self.verbose > 1:
LOG.debug(_("Result:") + '\n' + str(result))