We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc8d228 commit cdb3e4eCopy full SHA for cdb3e4e
bot2-procman/python/src/bot_procman/sheriff.py
@@ -322,8 +322,8 @@ def owns_command(self, cmd_object):
322
323
@return True if this deputy object manages \p command, False if not.
324
"""
325
- return command.sheriff_id in self._commands and \
326
- self._commands [command.sheriff_id] is command
+ return cmd_object.sheriff_id in self._commands and \
+ self._commands [cmd_object.sheriff_id] is cmd_object
327
328
def _update_from_deputy_info2(self, dep_info_msg):
329
0 commit comments