Skip to content

Commit

Permalink
benchmarks/py-naarad: Fix build with setuptools 58.0.0+
Browse files Browse the repository at this point in the history
With hat:	python
  • Loading branch information
sunpoet committed Mar 25, 2022
1 parent d1a6063 commit f77ee7e
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions benchmarks/py-naarad/files/patch-2to3
@@ -0,0 +1,9 @@
--- src/naarad/run_steps/local_cmd.py.orig 2015-04-23 21:55:51 UTC
+++ src/naarad/run_steps/local_cmd.py
@@ -82,5 +82,5 @@ class Local_Cmd(Run_Step):
if self.process.poll() is None:
self.process.kill()
logger.warning('Waited %d seconds for run_step to terminate. Killing now....', CONSTANTS.SECONDS_TO_KILL_AFTER_SIGTERM)
- except OSError, e:
+ except OSError as e:
logger.error('Error while trying to kill the subprocess: %s', e)

0 comments on commit f77ee7e

Please sign in to comment.