def do_login(self): """log in to a Dropbox account""" try: self.sess.link() except rest.ErrorResponse, e: get_logger().error(str(e)) raise