From eb76d8bb1c98c7e4edbfdfa941450af08d123186 Mon Sep 17 00:00:00 2001 From: Gwen Shapira Date: Mon, 27 Jul 2015 14:33:11 -0700 Subject: [PATCH] SQOOP-2436: Sqoop2: PreCommit script crashes when testing a patch that was already committed (Jarek Jarcec Cecho via Gwen Shapira) --- dev-support/test-patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/test-patch.py b/dev-support/test-patch.py index e3761038..16d7a1e7 100755 --- a/dev-support/test-patch.py +++ b/dev-support/test-patch.py @@ -393,7 +393,7 @@ def warning(self, msg, bullets=[]): self._items.append(ResultItem(ResultItem.WARNING, msg, bullets)) def fatal(self, msg, bullets=[]): self.overall = "-1" - self._items.append(ResultItem(ResultsIem.FATAL, msg, bullets)) + self._items.append(ResultItem(ResultItem.FATAL, msg, bullets)) self.exit_handler() self.exit() def exit(self):