def s_get(name=None):
 if (not name):
  return blocks.CURRENT
 s_switch(name)
 if (not blocks.REQUESTS.has_key(name)):
  raise sex.SullyRuntimeError(('blocks.REQUESTS NOT FOUND: %s' % name))
 return blocks.REQUESTS[name]

def s_get ( name = None ) : if ( not name ) : return blocks . CURRENT s_switch ( name ) if ( not blocks . REQUESTS . has_key ( name ) ) : raise sex . SullyRuntimeError ( ( 'blocks.REQUESTS NOT FOUND: %s' % name ) ) return blocks . REQUESTS [ name ]
return the request with the specified name or the current request if name is not specified .