<s> """<STR_LIT>""" <EOL> from django import template <EOL> register = template . Library ( ) <EOL> @ register . simple_tag ( takes_context = True ) <EOL> def set_rev_item ( context , rev ) : <EOL> """<STR_LIT>""" <EOL> frd = context [ '<STR_LIT>' ] <EOL> rev_dict = '<STR_LIT>' <EOL> try : <EOL> rev_dict = frd [ rev ] <EOL> except Exception , e : <EOL> print e <EOL> pass <EOL> context [ '<STR_LIT>' ] = rev_dict <EOL> return '<STR_LIT>' </s>
