Browse Source

Merge "Refactoring of the cli app module"

changes/13/790913/3
Zuul 2 weeks ago
committed by Gerrit Code Review
parent
commit
7638bf4d25
1 changed files with 5 additions and 3 deletions
  1. +5
    -3
      validations_libs/cli/app.py

+ 5
- 3
validations_libs/cli/app.py View File

@ -41,12 +41,14 @@ class ValidationCliApp(App):
self.LOG.debug('Initialize Validation App.')
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):
self.LOG.debug('clean_up %s', cmd.__class__.__name__)
self.LOG.debug(
'clean_up {}'.format(cmd.__class__.__name__))
if err:
self.LOG.debug('got an error: %s', err)
self.LOG.debug('got an error: {}'.format(err))
def main(argv=sys.argv[1:]):


Loading…
Cancel
Save