Skip to content

Commit 7973653

Browse files
author
Josh Mervine
committed
tweaks for travis and py3.x
1 parent f1e3b2c commit 7973653

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

maxcdn/maxcdn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ def _get_url(self, end_point):
2424
return self.url + end_point
2525

2626
def _data_request(self, method, end_point, data, **kwargs):
27-
if data is None and kwargs.has_key("params"):
27+
if data is None and "params" in kwargs:
2828
params = kwargs.pop("params")
2929
if type(params) is str:
3030
params = urlparse.parse_qs(params)

0 commit comments

Comments
 (0)