mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-12-22 10:08:30 +00:00
Fix typo in previous commit
D'oh. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
ce84310d2e
commit
6fbe122c0c
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user