Skip to content

Commit 1939021

Browse files
authored
Merge pull request #240 from itkovian/format-string-args
Provide the correct number of arguments
2 parents f1f0fc8 + 7447f8e commit 1939021

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

lib/vsc/utils/run.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,9 @@ def _init_process(self):
318318
"""Initialise the self._process"""
319319
try:
320320
self._process = self._process_module.Popen(self._shellcmd, **self._popen_named_args)
321-
except OSError:
322-
self.log.raiseException("_init_process: init Popen shellcmd %s failed: %s" % (self._shellcmd))
321+
except OSError as err:
322+
self.log.exception("_init_process: init Popen shellcmd %s failed: %s", self._shellcmd, err)
323+
raise
323324

324325
def _init_input(self):
325326
"""Handle input, if any in a simple way"""

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# -*- coding: latin-1 -*-
33
#
4-
# Copyright 2009-2014 Ghent University
4+
# Copyright 2009-2016 Ghent University
55
#
66
# This file is part of vsc-base,
77
# originally created by the HPC team of Ghent University (http://ugent.be/hpc/en),
@@ -44,7 +44,7 @@
4444
]
4545

4646
PACKAGE = {
47-
'version': '2.5.4',
47+
'version': '2.5.5',
4848
'author': [sdw, jt, ag, kh],
4949
'maintainer': [sdw, jt, ag, kh],
5050
# as long as 1.0.0 is not out, vsc-base should still provide vsc.fancylogger

0 commit comments

Comments
 (0)