From d9af48056a993a3e2988efcb02fd387a0f3729af Mon Sep 17 00:00:00 2001 From: Caspar van Leeuwen Date: Thu, 14 Nov 2024 22:26:23 +0100 Subject: [PATCH] fix pep8 stuff --- eessi/testsuite/eessi_mixin.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eessi/testsuite/eessi_mixin.py b/eessi/testsuite/eessi_mixin.py index 1bbe027a..d375f2c1 100644 --- a/eessi/testsuite/eessi_mixin.py +++ b/eessi/testsuite/eessi_mixin.py @@ -9,6 +9,7 @@ from eessi.testsuite.utils import log from eessi.testsuite import __version__ as testsuite_version + # Hooks from the Mixin class seem to be executed _before_ those of the child class # Thus, if the Mixin class needs self.X to be defined in after setup, the child class would have to define it before # setup. That's a disadvantage and might not always be possible - let's see how far we get. It also seems that, @@ -194,7 +195,8 @@ def extract_runtime_info_from_log(self): # If EESSI_CVMFS_REPO environment variable was set, extract it and store it in self.cvmfs_repo_name # Try block is needed to surpress sanity error if there is no match try: - repo_name = sn.extractsingle(r'EESSI_CVMFS_REPO: /cvmfs/(?P.*)$', f'{self.stagedir}/{self.stdout}', 'repo', str) + repo_name = sn.extractsingle(r'EESSI_CVMFS_REPO: /cvmfs/(?P.*)$', f'{self.stagedir}/{self.stdout}', + 'repo', str) if repo_name: self.cvmfs_repo_name = f'{repo_name}' except SanityError: