Skip to content

Commit

Permalink
fix pep8 stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
Caspar van Leeuwen committed Nov 14, 2024
1 parent 282a6d8 commit d9af480
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion eessi/testsuite/eessi_mixin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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<repo>.*)$', f'{self.stagedir}/{self.stdout}', 'repo', str)
repo_name = sn.extractsingle(r'EESSI_CVMFS_REPO: /cvmfs/(?P<repo>.*)$', f'{self.stagedir}/{self.stdout}',
'repo', str)
if repo_name:
self.cvmfs_repo_name = f'{repo_name}'
except SanityError:
Expand Down

0 comments on commit d9af480

Please sign in to comment.