def twitter_account_for_user(user):
    profile = user.get_profile()
    twitter_user = other_service(user, "twitter_user")
    twitter_password = other_service(user, "twitter_password")
    if twitter_user and twitter_password:
        twitter_password = get_twitter_password(settings.SECRET_KEY, twitter_password, decode=True)
        return twitter_account_raw(twitter_user, twitter_password)
dataset/ETHPy150Open skabber/django-microblogging/microblogging/utils.py/twitter_account_for_user/original