Merge "Refactoring of the cli app module"
This commit is contained in:
commit
7638bf4d25
|
@ -41,12 +41,14 @@ class ValidationCliApp(App):
|
||||||
self.LOG.debug('Initialize Validation App.')
|
self.LOG.debug('Initialize Validation App.')
|
||||||
|
|
||||||
def prepare_to_run_command(self, cmd):
|
def prepare_to_run_command(self, cmd):
|
||||||
self.LOG.debug('prepare_to_run_command %s', cmd.__class__.__name__)
|
self.LOG.debug(
|
||||||
|
'prepare_to_run_command {}'.format(cmd.__class__.__name__))
|
||||||
|
|
||||||
def clean_up(self, cmd, result, err):
|
def clean_up(self, cmd, result, err):
|
||||||
self.LOG.debug('clean_up %s', cmd.__class__.__name__)
|
self.LOG.debug(
|
||||||
|
'clean_up {}'.format(cmd.__class__.__name__))
|
||||||
if err:
|
if err:
|
||||||
self.LOG.debug('got an error: %s', err)
|
self.LOG.debug('got an error: {}'.format(err))
|
||||||
|
|
||||||
|
|
||||||
def main(argv=sys.argv[1:]):
|
def main(argv=sys.argv[1:]):
|
||||||
|
|
Loading…
Reference in New Issue