Skip to content

Commit

Permalink
happy pep
Browse files Browse the repository at this point in the history
  • Loading branch information
bhamail committed Oct 11, 2019
1 parent 6573616 commit b3f9155
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jake/ossindex/ossindex.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def callOSSIndex(self, purls):
response = requests.post(self.get_url(), data=purls, headers=self.get_headers())

self._log.debug(response.status_code)
if (response.status_code == 200):
if response.status_code == 200:
return json.loads(response.text)
else:
return None
2 changes: 1 addition & 1 deletion jake/test_parse.py
Original file line number Diff line number Diff line change
Expand Up @@ -295,4 +295,4 @@ def mockListCommand(self):
oneWithHeader = '''#
# Name Version Build Channel
''' + oneCondaPackage
return (oneWithHeader, "", 0)
return oneWithHeader, "", 0

0 comments on commit b3f9155

Please sign in to comment.