From 283e2084e00370f4a3738fb57cad35d5f2dbfa78 Mon Sep 17 00:00:00 2001 From: fstagni Date: Fri, 1 Dec 2023 16:20:28 +0100 Subject: [PATCH] fix: added imports at the beginning --- src/WebAppDIRAC/WebApp/handler/JobLaunchpadHandler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WebAppDIRAC/WebApp/handler/JobLaunchpadHandler.py b/src/WebAppDIRAC/WebApp/handler/JobLaunchpadHandler.py index 2c7769dd..863547f7 100644 --- a/src/WebAppDIRAC/WebApp/handler/JobLaunchpadHandler.py +++ b/src/WebAppDIRAC/WebApp/handler/JobLaunchpadHandler.py @@ -1,4 +1,6 @@ +import os import pprint +import shutil import tempfile from DIRAC import gConfig, gLogger @@ -174,8 +176,6 @@ def web_jobSubmit(self): if len(store) > 0: # If there is a file(s) in sandbox clearFS = True - import shutil - import os storePath = tempfile.mkdtemp(prefix="DIRAC_") try: