From e887ef2bd3e0e56cbcdd1682a43411b2ee34339e Mon Sep 17 00:00:00 2001 From: Bill Sacks Date: Fri, 29 Jul 2016 12:25:34 -0600 Subject: [PATCH] Fix syntax errors Test suite: None Test baseline: N/A Test namelist changes: N/A Test status: N/A Fixes: None User interface changes?: No Code review: None --- utils/python/CIME/SystemTests/system_tests_compare_two.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/python/CIME/SystemTests/system_tests_compare_two.py b/utils/python/CIME/SystemTests/system_tests_compare_two.py index a6994dab1f77..08e878d63947 100644 --- a/utils/python/CIME/SystemTests/system_tests_compare_two.py +++ b/utils/python/CIME/SystemTests/system_tests_compare_two.py @@ -46,7 +46,7 @@ def __init__(self, run_one_suffix = 'base', run_two_suffix = 'test', run_one_description = '', - run_two_description = '') + run_two_description = ''): """ Initialize a SystemTestsCompareTwo object. Individual test cases that inherit from SystemTestsCompareTwo MUST call this __init__ method. @@ -196,7 +196,7 @@ def _needs_two_builds(self, sharedlib_only, model_only): elif model_only: two_builds_needed = self._two_builds_for_model else: - throw ValueError('Invalid for both sharedlib_only and model_only to be set') + raise ValueError('Invalid for both sharedlib_only and model_only to be set') return two_builds_needed