[chutney/master] Python3: exec() now expects a string, not a file.

11 Mar
2019
11 Mar
'19
12:33 a.m.
commit dce899f1322c11735ab25e11278f5ac13575d804 Author: Nick Mathewson <nickm@torproject.org> Date: Thu Feb 28 11:26:21 2019 -0500 Python3: exec() now expects a string, not a file. --- lib/chutney/TorNet.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py index cc86960..8a2329a 100644 --- a/lib/chutney/TorNet.py +++ b/lib/chutney/TorNet.py @@ -1238,7 +1238,7 @@ def main(): args = parseArgs() f = open(args['network_cfg']) - result = runConfigFile(args['action'], f) + result = runConfigFile(args['action'], f.read()) if result is False: return -1 return 0
2253
Age (days ago)
2253
Last active (days ago)
0 comments
1 participants
participants (1)
-
nickm@torproject.org