Skip to content

Commit 27d7a6a

Browse files
committed
EnvLog uses no reportlog/result_log
1 parent cd09534 commit 27d7a6a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/tox/logs/env.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
class EnvLog(object):
1212
"""Report the status of a tox environment"""
1313

14-
def __init__(self, result_log, name, dict):
15-
self.reportlog = result_log
14+
def __init__(self, name, dict):
1615
self.name = name
1716
self.dict = dict
1817

src/tox/logs/result.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def get_envlog(self, name):
3636
"""Return the env log of a environment (create on first call)"""
3737
test_envs = self.dict.setdefault("testenvs", {})
3838
env_data = test_envs.setdefault(name, {})
39-
return EnvLog(self, name, env_data)
39+
return EnvLog(name, env_data)
4040

4141
def dumps_json(self):
4242
"""Return the json dump of the current state, indented"""

0 commit comments

Comments
 (0)