diff --git a/pagure/hooks/files/fedmsg_hook.py b/pagure/hooks/files/fedmsg_hook.py index d3e4cfc..6616fb2 100755 --- a/pagure/hooks/files/fedmsg_hook.py +++ b/pagure/hooks/files/fedmsg_hook.py @@ -84,7 +84,7 @@ for line in sys.stdin.readlines(): branch=refname, forced=forced, authors=list(authors), - agent=username, + agent=os.environ['GL_USER'], repo=project.to_json(public=True) if not isinstance(project, basestring) else project, ),