From b15a81375f1ea1960c41e3909304b660c42741de Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 10 Nov 2020 21:44:59 +0000 Subject: [PATCH] steps/runconfig: Fix datetime module reference Signed-off-by: Richard Purdie --- steps/runconfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/steps/runconfig.py b/steps/runconfig.py index 074e618..e1ce9f0 100644 --- a/steps/runconfig.py +++ b/steps/runconfig.py @@ -37,7 +37,7 @@ def get_publish_internal(props): dest = os.path.join(config.publish_dest, "releases", rel_name) else: 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 # directory which already exists, therefore we keep a list of used