equal
deleted
inserted
replaced
82 |
82 |
83 def optional_kwargs(extraargs): |
83 def optional_kwargs(extraargs): |
84 if extraargs is None: |
84 if extraargs is None: |
85 return {} |
85 return {} |
86 # we receive unicode keys which is not supported by the **syntax |
86 # we receive unicode keys which is not supported by the **syntax |
87 return dict((str(key), value) for key, value in extraargs.iteritems()) |
87 return dict((str(key), value) for key, value in extraargs.items()) |
88 |
88 |
89 |
89 |
90 class AjaxController(Controller): |
90 class AjaxController(Controller): |
91 """AjaxController handles ajax remote calls from javascript |
91 """AjaxController handles ajax remote calls from javascript |
92 |
92 |