Index: presubmit_canned_checks.py |
diff --git a/presubmit_canned_checks.py b/presubmit_canned_checks.py |
index a69bacee4ebd630a8377bfa1983b201e9be3e75b..137c376415b79c54b8b867b8e943b06b9379b800 100644 |
--- a/presubmit_canned_checks.py |
+++ b/presubmit_canned_checks.py |
@@ -66,8 +66,7 @@ def CheckChangeHasDescription(input_api, output_api): |
def CheckChangeWasUploaded(input_api, output_api): |
"""Checks that the issue was uploaded before committing.""" |
- if (input_api.is_committing and |
- (not input_api.change.issue or not input_api.change.patchset)): |
+ if input_api.is_committing and not input_api.change.issue: |
return [output_api.PresubmitError( |
'Issue wasn\'t uploaded. Please upload first.')] |
return [] |