Skip to content

Commit

Permalink
Fix intermittent flake8 error.
Browse files Browse the repository at this point in the history
  • Loading branch information
kfindeisen committed Jan 30, 2019
1 parent 575f9b1 commit 252b701
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions python/lsst/verify/bin/dispatchverify.py
Original file line number Diff line number Diff line change
Expand Up @@ -391,14 +391,14 @@ def __init__(self, args):

self.api_user = args.api_user or os.getenv('SQUASH_USER')
if not self.test and self.api_user is None:
message = '--user or $SQUASH_USER configuration required'
raise RuntimeError(message)
message = '--user or $SQUASH_USER configuration required'
raise RuntimeError(message)

self.api_password = args.api_password or os.getenv('SQUASH_password')
if not self.test and self.api_password is None:
message = ('--password or $SQUASH_password configuration '
'required')
raise RuntimeError(message)
message = ('--password or $SQUASH_password configuration '
'required')
raise RuntimeError(message)

def __str__(self):
configs = {
Expand Down

0 comments on commit 252b701

Please sign in to comment.