Apply Python 3 futurize transform lib2to3.fixes.fix_funcattrs.

This commit is contained in:
Tim Abbott
2015-11-01 08:09:54 -08:00
parent 8c34c40924
commit 5ce6a3c8f9
4 changed files with 8 additions and 8 deletions

View File

@@ -351,7 +351,7 @@ class Client(object):
else:
req_url = url
return self.do_api_query(request, API_VERSTRING + req_url, method=method, **query_kwargs)
call.func_name = name
call.__name__ = name
setattr(cls, name, call)
def call_on_each_event(self, callback, event_types=None, narrow=[]):