'Unfollows (default) 10 users from your following list'

def unfollow_users(self, amount=10, onlyInstapyFollowed=False):

    self.automatedFollowedPool = set_automated_followed_pool(self.username)
    try:
        unfollowNumber = unfollow(self.browser, self.username, amount, self.dont_include, onlyInstapyFollowed, self.automatedFollowedPool)
        print '-->    Total    people    unfollowed    :    {}    '.format(unfollowNumber)
    except (TypeError, RuntimeWarning) as err:
        if (type(err) == RuntimeWarning):
            print u'Warning:    {}    ,    stopping    unfollow_users'.format(err)
            self.logFile.write('Warning:    {}    ,    stopping    unfollow_users\n'.format(err))
            return self
        else:
            print 'Sorry,    an    error    occured:    {}'.format(err)
            self.logFile.write('Sorry,    an    error    occured:    {}\n'.format(err))
            self.aborting = True
            return self
    return self
