Skip to content

Commit

Permalink
Merge branch 'kaito-kidd-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
binux committed Nov 25, 2015
2 parents b9fea84 + e1a00e6 commit 22cef53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyspider/libs/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def unicode_dict(_dict):
"""
r = {}
for k, v in iteritems(_dict):
r[unicode_string(k)] = unicode_obj(v)
r[unicode_obj(k)] = unicode_obj(v)
return r


Expand Down
4 changes: 4 additions & 0 deletions tests/data_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ class IgnoreHandler(object):
pass

class TestHandler(BaseHandler):
retry_delay = {
1: 10,
'': -1
}

def hello(self):
return "hello world!"
Expand Down

0 comments on commit 22cef53

Please sign in to comment.