def getSceneSeasons(indexer_id):
 return [x[u'doc'][u'season'] for x in sickrage.srCore.cacheDB.db.get_many(u'scene_exceptions', indexer_id, with_doc=True)]

def getSceneSeasons ( indexer_id ) : return [ x [ u'doc' ] [ u'season' ] for x in sickrage . srCore . cacheDB . db . get_many ( u'scene_exceptions' , indexer_id , with_doc = True ) ]
get a list of season numbers that have scene exceptions .