Fix get_repo call even more

Fix the error:
  AttributeError: 'App' object has no attribute 'git_root'

That was not quite fixed by I55103b71e7fe35e282d69c3c95c61cbad95ef729

Change-Id: I28eb4f24b184f2843e25516450b3d145204a8828
This commit is contained in:
James E. Blair 2015-07-06 13:02:23 -07:00
parent 9d6dba47b4
commit 0b02fafdc7
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ def upgrade():
sys.stdout.flush()
ires = conn.execute(insert, revision_key=rkey, path='/COMMIT_MSG', old_path=None,
status=None, inserted=None, deleted=None)
repo = gertty.gitrepo.get_repo(pname, context.config.gertty_app)
repo = gertty.gitrepo.get_repo(pname, context.config.gertty_app.config)
try:
stats = repo.diffstat(parent, commit)
except git.exc.GitCommandError: