From 0b02fafdc7ea4bd0714e0d271a04dd753b2ad492 Mon Sep 17 00:00:00 2001 From: "James E. Blair" Date: Mon, 6 Jul 2015 13:02:23 -0700 Subject: [PATCH] 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 --- gertty/alembic/versions/50344aecd1c2_add_files_table.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gertty/alembic/versions/50344aecd1c2_add_files_table.py b/gertty/alembic/versions/50344aecd1c2_add_files_table.py index 64d417a..2070cf4 100644 --- a/gertty/alembic/versions/50344aecd1c2_add_files_table.py +++ b/gertty/alembic/versions/50344aecd1c2_add_files_table.py @@ -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: