Skip to content

Commit fd97d9f

Browse files
committed
Fix CI E1101 error
1 parent 7ee8b19 commit fd97d9f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/cosalib/fedora_messaging_request.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,8 @@ def error_cb(failure):
194194
}
195195
}
196196

197-
consumers = twisted_consume(callback, bindings=bindings, queues=queues)
198-
consumers.addCallback(registered_cb)
199-
consumers.addErrback(error_cb) # pylint: disable=E1101
197+
for d in twisted_consume(callback, bindings=bindings, queues=queues):
198+
d.addCallback(registered_cb)
199+
d.addErrback(error_cb) # pylint: disable=E1101
200+
200201
reactor.run(installSignalHandlers=False) # pylint: disable=E1101

0 commit comments

Comments
 (0)