fixes lint issues
# stdlib
# 3rd party
-import requests, json
+import requests
+import json
# project
from checks import AgentCheck
@@ -202,7 +203,8 @@ class StormCheck(AgentCheck):
url = "{}{}".format(self.nimbus_server, url_part)
try:
self.log.debug("Fetching url %s", url)
- if params: self.log.debug("Request params: %s", params)
+ if params:
+ self.log.debug("Request params: %s", params)
resp = requests.get(url, params=params)
resp.encoding = 'utf-8'
data = resp.json()
