Skip to content

Commit

Permalink
EnvLog uses no reportlog/result_log
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Nov 15, 2019
1 parent cd09534 commit 27d7a6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/tox/logs/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
class EnvLog(object):
"""Report the status of a tox environment"""

def __init__(self, result_log, name, dict):
self.reportlog = result_log
def __init__(self, name, dict):
self.name = name
self.dict = dict

Expand Down
2 changes: 1 addition & 1 deletion src/tox/logs/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def get_envlog(self, name):
"""Return the env log of a environment (create on first call)"""
test_envs = self.dict.setdefault("testenvs", {})
env_data = test_envs.setdefault(name, {})
return EnvLog(self, name, env_data)
return EnvLog(name, env_data)

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

0 comments on commit 27d7a6a

Please sign in to comment.