Skip to content

Commit

Permalink
Tiny optimization.
Browse files Browse the repository at this point in the history
  • Loading branch information
ralphbean committed Jun 28, 2012
1 parent fbf0be2 commit c279fb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgwat/api.py
Expand Up @@ -197,7 +197,7 @@ def contents(package, arch="x86_64", release="Rawhide", strip_tags=True):
}
url = "/".join([BASE_URL, path])
response = requests.get(url, params=query)
d = json.loads(response.text)
d = response.json

if strip_tags:
d = pkgwat.utils.strip_tags(d)
Expand Down

0 comments on commit c279fb3

Please sign in to comment.