From 35565ba369bf33613271d9b430691169475e721e Mon Sep 17 00:00:00 2001 From: Patrick Gartung Date: Tue, 5 Nov 2024 22:24:26 +0100 Subject: [PATCH] Black formatting --- crab/CMSSW_5_3_X/pset.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crab/CMSSW_5_3_X/pset.py b/crab/CMSSW_5_3_X/pset.py index 2387d2e52f2..023d688a232 100644 --- a/crab/CMSSW_5_3_X/pset.py +++ b/crab/CMSSW_5_3_X/pset.py @@ -7,10 +7,11 @@ # Testing cmsbot crab setup def cmsbot_crab_test(): import sys + try: - from subprocess import getstatusoutput + from subprocess import getstatusoutput except: - from commands import getstatusoutput + from commands import getstatusoutput from FWCore.Version.cmsbot_crab_test import CMSBOT_CRAB_TEST cmsbot_exit, cmsbot_out = getstatusoutput("cmsbot_crab_test.sh")