diff options
Diffstat (limited to 'nova/virt/powervm')
-rw-r--r-- | nova/virt/powervm/lpar.py | 2 | ||||
-rw-r--r-- | nova/virt/powervm/operator.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/nova/virt/powervm/lpar.py b/nova/virt/powervm/lpar.py index 7be8b046a..a6c782692 100644 --- a/nova/virt/powervm/lpar.py +++ b/nova/virt/powervm/lpar.py @@ -51,7 +51,7 @@ def load_from_conf_data(conf_data): for (key, value) in attribs.items(): try: lpar[key] = value - except exception.PowerVMLPARAttributeNotFound as e: + except exception.PowerVMLPARAttributeNotFound: LOG.info(_('Encountered unknown LPAR attribute: %s\n' 'Continuing without storing') % key) return lpar diff --git a/nova/virt/powervm/operator.py b/nova/virt/powervm/operator.py index 18cba0ba2..fffb77fc9 100644 --- a/nova/virt/powervm/operator.py +++ b/nova/virt/powervm/operator.py @@ -766,11 +766,11 @@ class BaseOperator(object): def _decompress_image_file(self, file_path, outfile_path): command = "/usr/bin/gunzip -c %s > %s" % (file_path, outfile_path) - output = self.run_vios_command_as_root(command) + self.run_vios_command_as_root(command) # Remove compressed image file command = "/usr/bin/rm %s" % file_path - output = self.run_vios_command_as_root(command) + self.run_vios_command_as_root(command) return outfile_path |