Skip to content

Commit

Permalink
Fix syntax errors
Browse files Browse the repository at this point in the history
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
  • Loading branch information
billsacks committed Jul 29, 2016
1 parent c1ed0b7 commit e887ef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/python/CIME/SystemTests/system_tests_compare_two.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit e887ef2

Please sign in to comment.