Patches #54

Merged
mhameed merged 4 commits from patches into master 2012-01-08 14:50:43 -08:00
Showing only changes of commit 650a69ec17 - Show all commits

View file

@ -168,6 +168,9 @@ class Twython(object):
else: else:
# If they don't do authentication, but still want to request unprotected resources, we need an opener. # If they don't do authentication, but still want to request unprotected resources, we need an opener.
self.client = httplib2.Http(**client_args) self.client = httplib2.Http(**client_args)
# register available funcs to allow listing name when debugging.
for key in api_table.keys():
self.__dict__[key] = self.__getattr__(key)
def __getattr__(self, api_call): def __getattr__(self, api_call):
""" """