This should not happen, but the code is wrong nevertheless.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
mods/maintainer.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mods/maintainer.py b/mods/maintainer.py
index af85f14..ec49335 100644
--- a/mods/maintainer.py
+++ b/mods/maintainer.py
@@ -54,7 +54,7 @@ class MaintainerModule(PatchewModule):
)
for q in query:
emit_event("MessageDropping", user=user, message=q.message, queue=q)
- q.delete()
+ query.delete()
def _update_watch_queue(self, series):
se = SearchEngine()
--
2.34.1
_______________________________________________
Patchew-devel mailing list
Patchew-devel@redhat.com
https://listman.redhat.com/mailman/listinfo/patchew-devel