Skip to content

Generic-DB-lookup bot is still using SQLBOT #2133

@G0meisa

Description

@G0meisa

from changelog:

intelmq.lib.bot.SQLBot was replaced by an SQLMixin in intelmq.lib.mixins.SQLMixin. The Generic DB Lookup Expert bot and the SQLOutput bot were updated accordingly.

but it seems like that generic db lookup code was not updated completely.
line 61: elif self.cur.rowcount == 1 or (self.cur.rowcount == -1 and self.engine == SQLBot.SQLITE):
line 65: elif self.cur.rowcount == -1 and self.engine == SQLBot.SQLITE:

Metadata

Metadata

Labels

bugIndicates an unexpected problem or unintended behaviorcomponent: bots

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions