Fix typo in previous commit

D'oh.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
Adam Williamson 2021-09-10 11:00:32 -07:00
parent ce84310d2e
commit 6fbe122c0c

View File

@ -617,7 +617,7 @@ def check(hdds, nextrel=None):
# handle renaming qcow2 images from old ('.img') to new ('.qcow2')
oldfn = img.filename.replace(".qcow2", ".img")
if os.path.isfile(oldfn):
os.rename(olfdn, img.filename)
os.rename(oldfn, img.filename)
if img.outdated:
outdated.append(img)
else: