Skip to content

Commit cdb3e4e

Browse files
committed
fix typo
1 parent cc8d228 commit cdb3e4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bot2-procman/python/src/bot_procman/sheriff.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -322,8 +322,8 @@ def owns_command(self, cmd_object):
322322
323323
@return True if this deputy object manages \p command, False if not.
324324
"""
325-
return command.sheriff_id in self._commands and \
326-
self._commands [command.sheriff_id] is command
325+
return cmd_object.sheriff_id in self._commands and \
326+
self._commands [cmd_object.sheriff_id] is cmd_object
327327

328328
def _update_from_deputy_info2(self, dep_info_msg):
329329
"""

0 commit comments

Comments
 (0)