diff options
| author | Ralph Bean <rbean@redhat.com> | 2015-02-19 13:26:52 +0000 |
|---|---|---|
| committer | Ralph Bean <rbean@redhat.com> | 2015-02-19 13:26:59 +0000 |
| commit | c50b0de2abc87f4dfdb431489dabce62a2d8f7be (patch) | |
| tree | 0cc9e70ed1d40b6f287863aae3321d633a10432b | |
| parent | 1adc8fae3e4fcf5fbfb19ab7e1ab558f5d7d583b (diff) | |
Try to fix lookaside.new fedmsg messages.
| -rw-r--r-- | roles/distgit/files/dist-git-upload.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/distgit/files/dist-git-upload.cgi b/roles/distgit/files/dist-git-upload.cgi index 3c5d874b1..ff9e14556 100644 --- a/roles/distgit/files/dist-git-upload.cgi +++ b/roles/distgit/files/dist-git-upload.cgi @@ -224,7 +224,7 @@ def main(): fedmsg.init(name="relay_inbound", cert_prefix="lookaside", **config) topic = "lookaside.new" - msg = dict(name=name, md5sum=checksum, filename=filename, + msg = dict(name=name, md5sum=checksum, filename=filename.split('/')[-1], agent=username, path=msgpath) fedmsg.publish(modname="git", topic=topic, msg=msg) except Exception as e: |
