Skip to content

Commit

Permalink
snmp-collector failed due to undefined exception e
Browse files Browse the repository at this point in the history
the variable e is not initialized

Change-Id: Iee2462aab1e8bf3385ea87dc760e842689c43a89
Closes-Bug: 1532432
  • Loading branch information
tedghose committed Feb 16, 2016
1 parent f4b6af9 commit 389ed2b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ def fom_file(filename):
@staticmethod
def get_vnc(usr, passwd, tenant, api_servers, auth_host=None,
auth_port=None, auth_protocol=None, notifycb=None):
e = IOError('Api servers (%s) not reachable' % ','.join(api_servers))
for rt in (5, 2, 7, 9, 16, 25):
for api_server in api_servers:
srv = api_server.split(':')
Expand Down

0 comments on commit 389ed2b

Please sign in to comment.