Skip to content

Commit 8863f6a

Browse files
author
Vladimir Kotal
committed
fix equivalence check
1 parent 9436a79 commit 8863f6a

File tree

1 file changed

+1
-1
lines changed
  • opengrok-tools/src/main/python/opengrok_tools

1 file changed

+1
-1
lines changed

opengrok-tools/src/main/python/opengrok_tools/projadm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ def exec_command(doit, logger, cmd, msg):
6666
logger.info(cmd)
6767
return
6868
cmd.execute()
69-
if cmd.getstate() is not Command.FINISHED \
69+
if cmd.getstate() != Command.FINISHED \
7070
or cmd.getretcode() != SUCCESS_EXITVAL:
7171
logger.error(msg)
7272
logger.error("Standard output: {}".format(cmd.getoutput()))

0 commit comments

Comments
 (0)