Permalink
Browse files

Updated followers/friends incommon to use new get_followers, get_frie…

…nds call
  • Loading branch information...
1 parent b4e0664 commit c0e1ed77487fee3e7bd52b2d8786aaf8779b72e7 @ryankanno committed Dec 28, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 py/twitters/utilities.py
View
@@ -63,8 +63,8 @@ def get_friends(config_fname, screen_name=None, cursor=None):
def friends_incommon(config_fname, screen_name):
- my_friends = friends(config_fname)
- other_friends = friends(config_fname, screen_name)
+ my_friends = get_friends(config_fname)
+ other_friends = get_friends(config_fname, screen_name)
return [x for x in my_friends if x in other_friends]
@@ -92,6 +92,6 @@ def get_followers(config_fname, screen_name=None, cursor=None):
def followers_incommon(config_fname, screen_name):
- my_followers = followers(config_fname)
- other_followers = followers(config_fname, screen_name)
+ my_followers = get_followers(config_fname)
+ other_followers = get_followers(config_fname, screen_name)
return [x for x in my_followers if x in other_followers]

0 comments on commit c0e1ed7

Please sign in to comment.