Merge "Refactoring of the cli app module"

This commit is contained in:
Zuul 2021-06-02 13:31:23 +00:00 committed by Gerrit Code Review
commit 7638bf4d25
1 changed files with 5 additions and 3 deletions

View File

@ -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:]):