From e5924b32383a8f62890e59ba74be17dd5cbe5f07 Mon Sep 17 00:00:00 2001 From: Andre Sailer Date: Mon, 6 Nov 2023 09:55:50 +0100 Subject: [PATCH] TEMP: debugging AST parsing --- docs/diracdoctools/cmd/codeReference.py | 1 + docs/docs.conf | 2 +- src/DIRAC/Core/Base/Client.py | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/diracdoctools/cmd/codeReference.py b/docs/diracdoctools/cmd/codeReference.py index 65a1deacb8d..eaf6b520629 100644 --- a/docs/diracdoctools/cmd/codeReference.py +++ b/docs/diracdoctools/cmd/codeReference.py @@ -177,6 +177,7 @@ def getsubpackages(self, abspath, direc): """return list of subpackages with full path""" packages = [] for dire in direc: + dire = dire[len("/home/sailer/temp/testDirac/"):] if dire.lower() == "test" or dire.lower() == "tests" or "/test" in dire.lower(): LOG.debug("Skipping test directory: %s/%s", abspath, dire) continue diff --git a/docs/docs.conf b/docs/docs.conf index 64920aab117..e52d9de996e 100644 --- a/docs/docs.conf +++ b/docs/docs.conf @@ -36,7 +36,7 @@ no_inherited_members = create_dummy_files = lfc_dfc_copy, lfc_dfc_db_copy, JobWrapperTemplate # do not include these files in the documentation tree -ignore_folders = diracdoctools, /test, /scripts +ignore_folders = diracdoctools, /testasds, /scripts ignore_files = setup.py # To add section "Commands" with all commands description to newly created "code documentation" (described in the [Code] section). diff --git a/src/DIRAC/Core/Base/Client.py b/src/DIRAC/Core/Base/Client.py index 032c3542bd6..701e5be6e27 100644 --- a/src/DIRAC/Core/Base/Client.py +++ b/src/DIRAC/Core/Base/Client.py @@ -118,6 +118,7 @@ def createClient(serviceName): :param str serviceName: system/service. e.g. WorkloadManagement/JobMonitoring """ + print("Called") systemName, handlerName = serviceName.split("/") handlerModuleName = handlerName + "Handler" # by convention they are the same