From 38e20e6ba649aa98ce62f778c715931bd9dc9d4a Mon Sep 17 00:00:00 2001 From: fstagni Date: Fri, 1 Dec 2023 16:49:33 +0100 Subject: [PATCH] sweep: #749 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: