Skip to content

Commit b9f27e0

Browse files
committed
Merge pull request #4 from cgopalan/master
Am testing sunlight with Python 3. To run on Python 3, changed dict.iteritems() to dict.items()
2 parents fe553e8 + b793f3e commit b9f27e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sunlight/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
def safe_encode(kwargs):
2929
kwargs = kwargs.copy()
30-
for k, v in kwargs.iteritems():
30+
for k, v in kwargs.items():
3131
if isinstance(v, _str_type):
3232
kwargs[k] = v.encode('utf8')
3333
return urlencode(kwargs)

0 commit comments

Comments
 (0)