def retrieveNameFromCache(name):
 name = sickbeard.helpers.full_sanitizeSceneName(name)
 if (name in nameCache):
  return int(nameCache[name])

def retrieveNameFromCache ( name ) : name = sickbeard . helpers . full_sanitizeSceneName ( name ) if ( name in nameCache ) : return int ( nameCache [ name ] )
looks up the given name in the scene_names table in cache .