Skip to content

Commit

Permalink
voms-proxy-info execution now using execute_nothreads()
Browse files Browse the repository at this point in the history
  • Loading branch information
PalNilsson committed Oct 17, 2024
1 parent 621d59a commit 43998c7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion PILOTVERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.9.1.11
3.9.1.12
2 changes: 1 addition & 1 deletion pilot/util/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
RELEASE = '3' # released number should be fixed at 3 for Pilot 3
VERSION = '9' # version number is '1' for first release, '0' until then, increased for bigger updates
REVISION = '1' # revision number should be reset to '0' for every new version release, increased for small updates
BUILD = '11' # build number should be reset to '1' for every new development cycle
BUILD = '12' # build number should be reset to '1' for every new development cycle

SUCCESS = 0
FAILURE = 1
Expand Down
7 changes: 5 additions & 2 deletions pilot/util/proxy.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,10 @@
from pilot.common.exception import FileHandlingFailure
from pilot.util import https
from pilot.util.config import config
from pilot.util.container import execute
from pilot.util.container import (
execute,
execute_nothreads
)
from pilot.util.filehandling import write_file

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -78,7 +81,7 @@ def vomsproxyinfo(options: str = '-all', mute: bool = False, path: str = '') ->
executable = f'voms-proxy-info {options}'
if path:
executable += f' --file={path}'
exit_code, stdout, stderr = execute(executable)
exit_code, stdout, stderr = execute_nothreads(executable)
if not mute:
logger.info(stdout + stderr)

Expand Down

0 comments on commit 43998c7

Please sign in to comment.