Commit 38c6b161 authored by Leo Iannacone's avatar Leo Iannacone

module: ingore action None

parent 20513242
...@@ -128,10 +128,14 @@ class DebomaticModule_JSONLogger: ...@@ -128,10 +128,14 @@ class DebomaticModule_JSONLogger:
num /= 1024.0 num /= 1024.0
def pre_chroot(self, args): def pre_chroot(self, args):
if args.action is None:
return
distribution = self._get_distribution_status(args) distribution = self._get_distribution_status(args)
self._append_json_logfile(args, distribution) self._append_json_logfile(args, distribution)
def post_chroot(self, args): def post_chroot(self, args):
if args.action is None:
return
distribution = self._get_distribution_status(args, with_success=True) distribution = self._get_distribution_status(args, with_success=True)
self._append_json_logfile(args, distribution) self._append_json_logfile(args, distribution)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment