From 76b509519b19c412c7a35d28370908fa137ccc68 Mon Sep 17 00:00:00 2001 From: Harmon Date: Tue, 25 Jun 2019 19:04:39 -0500 Subject: [PATCH] Remove unnecessary whitespace changes --- tweepy/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tweepy/models.py b/tweepy/models.py index 1940d7f..da5ffb4 100644 --- a/tweepy/models.py +++ b/tweepy/models.py @@ -225,19 +225,22 @@ class Friendship(Model): @classmethod def parse(cls, api, json): relationship = json['relationship'] + # parse source source = cls(api) setattr(source,'_json',relationship['source']) for k, v in relationship['source'].items(): setattr(source, k, v) - + # parse target target = cls(api) setattr(target,'_json',relationship['target']) for k, v in relationship['target'].items(): setattr(target, k, v) + return source, target + class Category(Model): @classmethod -- 2.25.1