From 2ffb51318397606a38a7cefe505088dfbc06f28f Mon Sep 17 00:00:00 2001 From: Josh Roesslein Date: Thu, 13 Aug 2009 12:09:29 -0500 Subject: [PATCH] Status.user->Status.author --- CHANGES | 6 ++++++ ROADMAP | 0 tweepy/parsers.py | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 CHANGES create mode 100644 ROADMAP diff --git a/CHANGES b/CHANGES new file mode 100644 index 0000000..d826004 --- /dev/null +++ b/CHANGES @@ -0,0 +1,6 @@ +All changes made to the library that might affect applications +during upgrade will be listed here. + +1.0 -> 1.0.1 +------------ +Status.user --> Status.author diff --git a/ROADMAP b/ROADMAP new file mode 100644 index 0000000..e69de29 diff --git a/tweepy/parsers.py b/tweepy/parsers.py index a2cda3a..0f3f2f9 100644 --- a/tweepy/parsers.py +++ b/tweepy/parsers.py @@ -73,7 +73,7 @@ def _parse_status(obj, api): status._api = api for k,v in obj.items(): if k == 'user': - setattr(status, k, _parse_user(v, api)) + setattr(status, 'author', _parse_user(v, api)) elif k == 'created_at': setattr(status, k, _parse_datetime(v)) elif k == 'source': -- 2.25.1