diff options
author | Neil Williams <codehelp@debian.org> | 2015-11-06 09:26:52 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-11-06 09:26:52 +0000 |
commit | a2e6092693643acd2b7f12d8dde9b23fb9ba4f97 (patch) | |
tree | 8e9d021abdc08c1f07a0d1ceee0603d85e4010d1 /vmdebootstrap | |
parent | 712731075f2d514f4c51261be8e3afaa278d90be (diff) | |
download | vmdebootstrap-a2e6092693643acd2b7f12d8dde9b23fb9ba4f97.tar.gz |
avoid logging error as image is not always used.
Diffstat (limited to 'vmdebootstrap')
-rw-r--r-- | vmdebootstrap/base.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/vmdebootstrap/base.py b/vmdebootstrap/base.py index 0a302a4..899bec1 100644 --- a/vmdebootstrap/base.py +++ b/vmdebootstrap/base.py @@ -154,10 +154,7 @@ class Base(object): return script = example self.message('Running customize script %s' % script) - logging.info("rootdir=%s image=%s", rootdir, self.settings['image']) - logging.debug( - "%s usage: %s", self.settings['image'], - runcmd(['du', self.settings['image']])) + logging.info("rootdir=%s", rootdir) try: with open('/dev/tty', 'w') as tty: cliapp.runcmd([script, rootdir, self.settings['image']], stdout=tty, stderr=tty) |