From d6e32668c8b61cd809c2a985abd066888c5fe43c Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Tue, 6 Aug 2013 15:38:05 -0400 Subject: [PATCH] Change Humbug => Zulip in name of exception filter module. (imported from commit 87d4a45834f605a83fa5f9286217258dafaa1b92) --- humbug/settings.py | 2 +- zerver/filters.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/humbug/settings.py b/humbug/settings.py index 3e3d2c288d..34568a873f 100644 --- a/humbug/settings.py +++ b/humbug/settings.py @@ -600,7 +600,7 @@ if not DEPLOYED: if DEPLOYED: # Filter out user data - DEFAULT_EXCEPTION_REPORTER_FILTER = 'zerver.filters.HumbugExceptionReporterFilter' + DEFAULT_EXCEPTION_REPORTER_FILTER = 'zerver.filters.ZulipExceptionReporterFilter' # We want all temporary uploaded files to be stored on disk. diff --git a/zerver/filters.py b/zerver/filters.py index 65c0c47052..ad1c8c562d 100644 --- a/zerver/filters.py +++ b/zerver/filters.py @@ -3,7 +3,7 @@ from __future__ import absolute_import from django.views.debug import SafeExceptionReporterFilter from django.http import build_request_repr -class HumbugExceptionReporterFilter(SafeExceptionReporterFilter): +class ZulipExceptionReporterFilter(SafeExceptionReporterFilter): def get_post_parameters(self, request): filtered_post = SafeExceptionReporterFilter.get_post_parameters(self, request).copy() filtered_vars = ['content', 'secret', 'password', 'key', 'api-key', 'subject', 'stream',