mirror of
https://github.com/rocky-linux/createhdds.git
synced 2024-11-17 10:41:25 +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')
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user