diff --git a/roles/batcave/files/fedmsg-announce-commits.py b/roles/batcave/files/fedmsg-announce-commits.py index ef0ce901e5..70fa95f105 100644 --- a/roles/batcave/files/fedmsg-announce-commits.py +++ b/roles/batcave/files/fedmsg-announce-commits.py @@ -16,6 +16,7 @@ import fedmsg.config username = getpass.getuser() repo = pygit2.Repository(os.getcwd()) +repo_name = '.'.join(os.getcwd().split(os.path.sep)[-1].split('.')[:-1]) print("Emitting a message to the fedmsg bus.") config = fedmsg.config.load_config([], None)