Make sure the ring fits.
This commit is contained in:
parent
8ee7e4d37d
commit
458bb25611
2 changed files with 6 additions and 1 deletions
|
@ -4,6 +4,7 @@
|
|||
"msg/project/fullname",
|
||||
"msg/fields",
|
||||
"msg/issue/content"
|
||||
"topic",
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue