fedimg: Fix the trigger_upload script to send notifications
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012@gmail.com>
This commit is contained in:
parent
d954bf5ff2
commit
dbf65659a3
1 changed files with 2 additions and 1 deletions
|
@ -17,7 +17,8 @@ log = logging.getLogger('fedmsg')
|
|||
def trigger_upload(url, compose_id, push_notifications):
|
||||
upload_pool = multiprocessing.pool.ThreadPool(processes=4)
|
||||
compose_meta = {'compose_id': compose_id}
|
||||
fedimg.uploader.upload(upload_pool, [url], compose_meta=compose_meta)
|
||||
fedimg.uploader.upload(upload_pool, [url], compose_meta=compose_meta,
|
||||
push_notifications=push_notifications)
|
||||
|
||||
|
||||
def get_args():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue