Index: verification/presubmit_check.py |
diff --git a/verification/presubmit_check.py b/verification/presubmit_check.py |
index 4b8c8910bf0658b0184d8ea87bbdc7e4a5b747d5..3c2ef6ad6736bac337e217909d774c3adcf341bf 100644 |
--- a/verification/presubmit_check.py |
+++ b/verification/presubmit_check.py |
@@ -36,12 +36,12 @@ class PresubmitCheckVerifier(base.Verifier): |
# This one runs synchronously for now. |
cmd = [ |
'--commit', |
- '--issue', pending.issue, |
- '--patchset', pending.patchset, |
+ '--issue', str(pending.issue), |
+ '--patchset', str(pending.patchset), |
'--name', pending.pending_name(), |
'--description', pending.description, |
] |
- stat.state = presubmit_support.Main(cmd) |
+ stat.state = not presubmit_support.Main(cmd) |
def update_status(self, queue): |
pass |