Skip to content

Commit

Permalink
updated check_blue_talon_version.py
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Dec 6, 2016
1 parent 31820c3 commit 36a185a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions check_blue_talon_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,10 @@ def process_options(self):
self.no_args()
self.host = self.get_opt('host')
self.port = self.get_opt('port')
validate_host(self.host)
validate_port(self.port)
self.user = self.get_opt('user')
self.password = self.get_opt('password')
validate_host(self.host)
validate_port(self.port)
validate_user(self.user)
validate_password(self.password)
self.expected = self.get_opt('expected')
Expand Down Expand Up @@ -135,7 +135,7 @@ def get_version(self):
build_version = json_dict['build_version']
api_version = json_dict['api_version']
update_date = json_dict['update_date']
except (KeyError, ValueError, NameError, TypeError) as _:
except (KeyError, ValueError) as _:
qquit('UNKNOWN', 'error parsing output from {software}: {exception}: {error}. {support_msg}'\
.format(software=self.software,
exception=type(_).__name__,
Expand Down

0 comments on commit 36a185a

Please sign in to comment.