From d3fe14781747539c470089208fa7aeb1b2cbbd6f Mon Sep 17 00:00:00 2001
From: Michael Merickel <michael@merickel.org>
Date: Thu, 18 Oct 2018 03:45:01 +0200
Subject: [PATCH] fix the dummy request to support the new accept apis

---
 src/pyramid/tweens.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/pyramid/tweens.py b/src/pyramid/tweens.py
index 740b696..839c53b 100644
--- a/src/pyramid/tweens.py
+++ b/src/pyramid/tweens.py
@@ -3,6 +3,7 @@
 from pyramid.compat import reraise
 from pyramid.httpexceptions import HTTPNotFound
 
+
 def _error_handler(request, exc):
     # NOTE: we do not need to delete exc_info because this function
     # should never be in the call stack of the exception
@@ -16,6 +17,7 @@
         reraise(*exc_info)
 
     return response
+
 
 def excview_tween_factory(handler, registry):
     """ A :term:`tween` factory which produces a tween that catches an
@@ -43,6 +45,7 @@
 
     return excview_tween
 
+
 MAIN = 'MAIN'
 INGRESS = 'INGRESS'
 EXCVIEW = 'pyramid.tweens.excview_tween_factory'

--
Gitblit v1.9.3