From: Harmon Date: Wed, 26 Jun 2019 00:04:39 +0000 (-0500) Subject: Remove unnecessary whitespace changes X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=76b509519b19c412c7a35d28370908fa137ccc68;p=tweepy.git Remove unnecessary whitespace changes --- 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