We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0878f9d commit 802929aCopy full SHA for 802929a
tools/sync/opengrok.py
@@ -57,7 +57,7 @@ def get_first_line(logger, command):
57
58
cmd = Command(command)
59
cmd.execute()
60
- if cmd.state is not "finished" or cmd.getretcode() != 0:
+ if cmd.getstate() != Command.FINISHED or cmd.getretcode() != 0:
61
logger.error("execution of command '{}' failed with: {}"
62
.format(cmd, cmd.getoutputstr()))
63
return None
0 commit comments