def load(self):
    """Reads any tokens not already in memory from the specified file"""
    try:
      with open(self.filename) as f:
        result = yaml.load(f.read())
    except __HOLE__:
      raise IOError("Access token file %s couldn't be opened. Try running authenticate_twitter_cherrypy ?" % self.filename)

    if result:
      self.tokens.update(result)
dataset/ETHPy150Open domrout/python-twitter-wrapper/twitterwrapper/access_tokens.py/AccessTokenStore.load