mirror of
https://github.com/drewkerrigan/nagios-http-json.git
synced 2024-11-22 10:23:50 +01:00
Fix inconsistent use of tabs/spaces
This commit is contained in:
parent
65c3bd2a25
commit
209aaef041
@ -755,7 +755,7 @@ if __name__ == "__main__":
|
|||||||
else:
|
else:
|
||||||
response = urllib2.urlopen(req, context=context)
|
response = urllib2.urlopen(req, context=context)
|
||||||
|
|
||||||
json_data = response.read()
|
json_data = response.read()
|
||||||
|
|
||||||
except HTTPError as e:
|
except HTTPError as e:
|
||||||
nagios.append_unknown(" HTTPError[%s], url:%s" % (str(e.code), url))
|
nagios.append_unknown(" HTTPError[%s], url:%s" % (str(e.code), url))
|
||||||
|
Loading…
Reference in New Issue
Block a user