mirror of
git://git.yoctoproject.org/yocto-autobuilder2.git
synced 2025-07-19 12:49:03 +02:00
steps/runconfig: Fix datetime module reference
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
97104f0a69
commit
b15a81375f
|
@ -37,7 +37,7 @@ def get_publish_internal(props):
|
||||||
dest = os.path.join(config.publish_dest, "releases", rel_name)
|
dest = os.path.join(config.publish_dest, "releases", rel_name)
|
||||||
else:
|
else:
|
||||||
dest_base = os.path.join(config.publish_dest, 'non-release',
|
dest_base = os.path.join(config.publish_dest, 'non-release',
|
||||||
datetime.now().strftime("%Y%m%d"))
|
datetime.datetime.now().strftime("%Y%m%d"))
|
||||||
|
|
||||||
# We want to make sure that we aren't writing artefacts to a publish
|
# We want to make sure that we aren't writing artefacts to a publish
|
||||||
# directory which already exists, therefore we keep a list of used
|
# directory which already exists, therefore we keep a list of used
|
||||||
|
|
Loading…
Reference in New Issue
Block a user