config: use repo.tree (#4190)

Fixes #4188
This commit is contained in:
Ruslan Kuprieiev
2020-07-12 06:45:04 +03:00
committed by GitHub
parent 375998c664
commit b8a42939ad
7 changed files with 72 additions and 23 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ def _item_basename(item):
return os.path.basename(item.path)
class GitTree(BaseTree):
class GitTree(BaseTree): # pylint:disable=abstract-method
"""Proxies the repo file access methods to Git objects"""
def __init__(self, git, rev):