Skip to content

Commit

Permalink
TEMP: debugging AST parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
andresailer committed Nov 6, 2023
1 parent 52e77c5 commit e5924b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/diracdoctools/cmd/codeReference.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/docs.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
1 change: 1 addition & 0 deletions src/DIRAC/Core/Base/Client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e5924b3

Please sign in to comment.