From bdcf4ef7325b50d912d78c9e674f58ce5eac7782 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Dec 24 2015 09:22:03 +0000 Subject: Fix unknown variable being called --- diff --git a/pagure/ui/app.py b/pagure/ui/app.py index 15c1e1f..27135c4 100644 --- a/pagure/ui/app.py +++ b/pagure/ui/app.py @@ -70,7 +70,8 @@ def index_auth(): """ user = pagure.lib.search_user(SESSION, username=flask.g.fas_user.username) if not user: - flask.abort(404, 'No user `%s` found, re-login maybe?' % username) + flask.abort(404, 'No user `%s` found, re-login maybe?' % ( + flask.g.fas_user.username)) repopage = flask.request.args.get('repopage', 1) try: