Exemplo n.º 1
0
    def _callFUT(self, key, default=_nodefault, rfc_section=None, encattr=None):
        from webob.descriptors import environ_decoder

        if default is _nodefault:
            return environ_decoder(key, rfc_section=rfc_section, encattr=encattr)
        else:
            return environ_decoder(key, default=default, rfc_section=rfc_section, encattr=encattr)
Exemplo n.º 2
0
 def _callFUT(self, key, default=_nodefault, rfc_section=None,
              encattr=None):
     from webob.descriptors import environ_decoder
     if default is _nodefault:
         return environ_decoder(key, rfc_section=rfc_section,
                                encattr=encattr)
     else:
         return environ_decoder(key, default=default,
                                rfc_section=rfc_section, encattr=encattr)