summaryrefslogtreecommitdiff
path: root/oslo_utils/imageutils.py
diff options
context:
space:
mode:
authorBrian Rosmaita <rosmaita.fossdev@gmail.com>2022-11-11 16:14:47 -0500
committerBrian Rosmaita <rosmaita.fossdev@gmail.com>2022-11-11 16:18:15 -0500
commitd49d5944824f15d00e04e1b9c7f8c3b03b440c95 (patch)
tree876334a2852c6d05824f256d0b1113f4b1e5bfb2 /oslo_utils/imageutils.py
parentcb8076bbe4067b6b6fff5c2d5c629714ba3e92d7 (diff)
downloadoslo-utils-d49d5944824f15d00e04e1b9c7f8c3b03b440c95.tar.gz
[imageutils] Fix __str__ for QemuImgInfo6.1.0
Code is calling 'appened' on a list; correct this to 'append'. Closes-bug: #1996426 Change-Id: I8729cf180f92f43519c942e22f3b285377a5612f
Diffstat (limited to 'oslo_utils/imageutils.py')
-rw-r--r--oslo_utils/imageutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_utils/imageutils.py b/oslo_utils/imageutils.py
index 4808091..e3951d1 100644
--- a/oslo_utils/imageutils.py
+++ b/oslo_utils/imageutils.py
@@ -100,7 +100,7 @@ class QemuImgInfo(object):
if self.encrypted:
lines.append("encrypted: %s" % self.encrypted)
if self.format_specific:
- lines.appened("format_specific: %s" % self.format_specific)
+ lines.append("format_specific: %s" % self.format_specific)
return "\n".join(lines)
def _canonicalize(self, field):