diff options
author | Brian Rosmaita <rosmaita.fossdev@gmail.com> | 2022-11-11 16:14:47 -0500 |
---|---|---|
committer | Hervé Beraud <herveberaud.pro@gmail.com> | 2023-01-30 09:50:09 +0000 |
commit | 92d0c17a62d4f4e2ac65d85ee6d6a2c02a75739a (patch) | |
tree | 9b19bcd527d9210141e868e3d1a3ab1c01be0bbf /oslo_utils/imageutils.py | |
parent | 2c1b0628771695e546b0acb1e3c44c16c0c690db (diff) | |
download | oslo-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.py | 2 |
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): |