aboutsummaryrefslogtreecommitdiffstats
path: root/tests/context_processors.py
diff options
context:
space:
mode:
authorAymeric Augustin2014-04-19 09:55:17 +0200
committerAymeric Augustin2014-04-19 09:55:17 +0200
commit4e7e465a49746f8717bf6340ef7cdcea5a31ab06 (patch)
tree4e786bdea28d2ba0376c01a0ccb332926a2813c4 /tests/context_processors.py
parent0fabf937f20c162180c383eec7a9a327e2b5ab8c (diff)
downloaddjango-debug-toolbar-4e7e465a49746f8717bf6340ef7cdcea5a31ab06.tar.bz2
Flake8.
Diffstat (limited to 'tests/context_processors.py')
-rw-r--r--tests/context_processors.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/context_processors.py b/tests/context_processors.py
index 3514639..4c08000 100644
--- a/tests/context_processors.py
+++ b/tests/context_processors.py
@@ -1,3 +1,2 @@
-
-def custom(req):
- msg = req.myattr
+def custom(request):
+ request.non_existing_attribute