зеркало из https://github.com/mozilla/iris.git
Merge pull request #482 from mozilla/issue_477
Fix issue that causes error when generating email report
This commit is contained in:
Коммит
b32ecc9cf9
|
@ -223,8 +223,8 @@ class PathManager:
|
|||
@staticmethod
|
||||
def get_git_details():
|
||||
repo_details = {}
|
||||
repo = git.Repo()
|
||||
repo_details['iris_version'] = 0.1
|
||||
repo = git.Repo(PathManager.get_module_dir())
|
||||
repo_details['iris_version'] = 2.0
|
||||
repo_details['iris_repo'] = repo.working_tree_dir
|
||||
repo_details['iris_branch'] = repo.active_branch.name
|
||||
repo_details['iris_branch_head'] = repo.head.object.hexsha
|
||||
|
|
Загрузка…
Ссылка в новой задаче