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') # handle renaming qcow2 images from old ('.img') to new ('.qcow2')
oldfn = img.filename.replace(".qcow2", ".img") oldfn = img.filename.replace(".qcow2", ".img")
if os.path.isfile(oldfn): if os.path.isfile(oldfn):
os.rename(olfdn, img.filename) os.rename(oldfn, img.filename)
if img.outdated: if img.outdated:
outdated.append(img) outdated.append(img)
else: else: