summaryrefslogtreecommitdiffstats
path: root/scripts/lib/wic/plugins/imager/direct.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/lib/wic/plugins/imager/direct.py')
-rw-r--r--scripts/lib/wic/plugins/imager/direct.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/lib/wic/plugins/imager/direct.py b/scripts/lib/wic/plugins/imager/direct.py
index 592412a634..4637fbf302 100644
--- a/scripts/lib/wic/plugins/imager/direct.py
+++ b/scripts/lib/wic/plugins/imager/direct.py
@@ -29,7 +29,6 @@ import uuid
29import tempfile 29import tempfile
30 30
31from time import strftime 31from time import strftime
32from os.path import basename, splitext
33 32
34from wic import msger 33from wic import msger
35from wic.ksparser import KickStart, KickStartError 34from wic.ksparser import KickStart, KickStartError
@@ -65,7 +64,7 @@ class DirectPlugin(ImagerPlugin):
65 except KickStartError as err: 64 except KickStartError as err:
66 msger.error(str(err)) 65 msger.error(str(err))
67 66
68 name = "%s-%s" % (splitext(basename(ksconf))[0], 67 name = "%s-%s" % (os.path.splitext(os.path.basename(ksconf))[0],
69 strftime("%Y%m%d%H%M")) 68 strftime("%Y%m%d%H%M"))
70 69
71 # parse possible 'rootfs=name' items 70 # parse possible 'rootfs=name' items