From: Joshua Roesslein Date: Thu, 10 Dec 2009 05:50:13 +0000 (-0600) Subject: Add 'description' parameter to API.create_list() and API.update_list() X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=637adc73ba3f5c8091d8e051f9f7e11a964ce94a;p=tweepy.git Add 'description' parameter to API.create_list() and API.update_list() --- diff --git a/CHANGELOG b/CHANGELOG index 6fd1d16..7bf1937 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -22,6 +22,8 @@ during upgrade will be listed here. - retweet() method now works correctly - Added local trends method: trends_available() and trends_location() - send_direct_message() now accepts either a user/screen_name/user_id for recipient of DM + - update_status() added 'source' parameter for Identi.ca + - create_list() and update_list() added 'description' parameter + tweepy.debug() enables httplib debug mode + New Sphinx documentation (Thanks Kumar!) in doc/ + Fix User.timeline() to return correct timeline diff --git a/tweepy/api.py b/tweepy/api.py index d479c33..52fc3b5 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -461,7 +461,7 @@ class API(object): path = '/%s/lists.json' % self.auth.get_username(), method = 'POST', parser = parse_list, - allowed_param = ['name', 'mode'], + allowed_param = ['name', 'mode', 'description'], require_auth = True )(self, *args, **kargs) @@ -478,7 +478,7 @@ class API(object): path = '/%s/lists/%s.json' % (self.auth.get_username(), slug), method = 'POST', parser = parse_list, - allowed_param = ['name', 'mode'], + allowed_param = ['name', 'mode', 'description'], require_auth = True )(self, *args, **kargs)