Make sure the ring fits.

This commit is contained in:
Ralph Bean 2017-08-16 17:57:19 +00:00
parent 8ee7e4d37d
commit 458bb25611
2 changed files with 6 additions and 1 deletions

View file

@ -4,6 +4,7 @@
"msg/project/fullname",
"msg/fields",
"msg/issue/content"
"topic",
]
}
}

View file

@ -38,5 +38,9 @@ def main(fullname, fields, content):
if __name__ == '__main__':
fullname, fields, content = sys.argv[-3:]
topic = sys.argv[-1]
if topic != 'io.pagure.prod.pagure.issue.edit':
# This message wasn't meant for me...
return
fullname, fields, content = sys.argv[-4:-1]
main(fullname, fields, content)