From 72272996b6645b70f07b0cbadc63f5024210f630 Mon Sep 17 00:00:00 2001 From: Daniel Bratell Date: Thu, 22 Feb 2018 17:07:11 +0100 Subject: [PATCH] Remove duplicate assignment of same variable in presubmit code Change-Id: I04261053a37db078e2aff579ab4521056cce673c Reviewed-on: https://chromium-review.googlesource.com/931555 Reviewed-by: Aaron Gable Commit-Queue: Daniel Bratell --- presubmit_support.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/presubmit_support.py b/presubmit_support.py index 0e01e780bc..8493d273c5 100755 --- a/presubmit_support.py +++ b/presubmit_support.py @@ -137,8 +137,6 @@ class _PresubmitResult(object): """ self._message = message self._items = items or [] - if items: - self._items = items self._long_text = long_text.rstrip() def handle(self, output):