def __call__(self): layers = '\n'.join([str(layer) for layer in get_layers(self.request)]) req_items = '\n'.join([str(i) for i in self.request.items()]) return "%s\n\n%s" % (layers, req_items)
def __call__(self): return "%s\n\n%s" % (get_layers(self.request), str(self.request.items()))
def _add_browser_layer(self, layer): layers = [x for x in get_layers(self.request)] layers.append(layer) directlyProvides(self.request, layers)