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
committerHervé Beraud <herveberaud.pro@gmail.com>2023-01-30 09:50:09 +0000
commit92d0c17a62d4f4e2ac65d85ee6d6a2c02a75739a (patch)
tree9b19bcd527d9210141e868e3d1a3ab1c01be0bbf /oslo_utils/imageutils.py
parent2c1b0628771695e546b0acb1e3c44c16c0c690db (diff)
downloadoslo-utils-stable/yoga.tar.gz
[imageutils] Fix __str__ for QemuImgInfostable/yoga
Code is calling 'appened' on a list; correct this to 'append'. Closes-bug: #1996426 Change-Id: I8729cf180f92f43519c942e22f3b285377a5612f (cherry picked from commit d49d5944824f15d00e04e1b9c7f8c3b03b440c95)
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):