Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug 734394: send mail about server side errors on balrog servers. r=c…
…atlee
- Loading branch information
Showing
90 changed files
with
5,852 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from raven.processors import Processor | ||
|
||
class SanitizeHeadersProcessor(Processor): | ||
sanitizeHeaders = ['Authorization'] | ||
|
||
def process(self, data): | ||
data = data['sentry.interfaces.Http'] | ||
if 'headers' in data: | ||
for header in self.sanitizeHeaders: | ||
if header in data['headers']: | ||
data['headers'][header] = 'REDACTED' | ||
return data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,5 @@ flask-wtf==0.6 | |
sqlalchemy-migrate==0.7.2 | ||
tempita==0.5.1 | ||
decorator==3.3.3 | ||
raven==3.1.13 | ||
blinker==1.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
Metadata-Version: 1.1 | ||
Name: blinker | ||
Version: 1.2 | ||
Summary: Fast, simple object-to-object and broadcast signaling | ||
Home-page: http://discorporate.us/projects/Blinker/ | ||
Author: Jason Kirtland | ||
Author-email: jek@discorporate.us | ||
License: MIT License | ||
Description: Blinker | ||
======= | ||
|
||
Blinker provides a fast dispatching system that allows any number of | ||
interested parties to subscribe to events, or "signals". | ||
|
||
Signal receivers can subscribe to specific senders or receive signals | ||
sent by any sender. | ||
|
||
>>> from blinker import signal | ||
>>> started = signal('round-started') | ||
>>> def each(round): | ||
... print "Round %s!" % round | ||
... | ||
>>> started.connect(each) | ||
|
||
>>> def round_two(round): | ||
... print "This is round two." | ||
... | ||
>>> started.connect(round_two, sender=2) | ||
|
||
>>> for round in range(1, 4): | ||
... started.send(round) | ||
... | ||
Round 1! | ||
Round 2! | ||
This is round two. | ||
Round 3! | ||
|
||
Requirements | ||
------------ | ||
|
||
Blinker requires Python 2.4 or higher, Python 3.0 or higher, or Jython 2.5 or higher. | ||
|
||
Changelog Summary | ||
----------------- | ||
|
||
1.1 (July 21, 2010) | ||
- Added ``@signal.connect_via(sender)`` decorator | ||
- Added ``signal.connected_to`` shorthand name for the | ||
``temporarily_connected_to`` context manager. | ||
|
||
1.0 (March 28, 2010) | ||
- Python 3.x compatibility | ||
|
||
0.9 (February 26, 2010) | ||
- Sphinx docs, project website | ||
- Added ``with a_signal.temporarily_connected_to(receiver): ...`` support | ||
|
||
Keywords: signal emit events broadcast | ||
Platform: UNKNOWN | ||
Classifier: Development Status :: 5 - Production/Stable | ||
Classifier: Intended Audience :: Developers | ||
Classifier: License :: OSI Approved :: MIT License | ||
Classifier: Operating System :: OS Independent | ||
Classifier: Programming Language :: Python | ||
Classifier: Programming Language :: Python :: 2 | ||
Classifier: Programming Language :: Python :: 2.4 | ||
Classifier: Programming Language :: Python :: 2.5 | ||
Classifier: Programming Language :: Python :: 2.6 | ||
Classifier: Programming Language :: Python :: 2.7 | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: Programming Language :: Python :: 3.0 | ||
Classifier: Programming Language :: Python :: 3.1 | ||
Classifier: Programming Language :: Python :: 3.2 | ||
Classifier: Topic :: Software Development :: Libraries | ||
Classifier: Topic :: Utilities |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
README | ||
blinker/__init__.py | ||
blinker/_saferef.py | ||
blinker/_utilities.py | ||
blinker/base.py | ||
blinker.egg-info/PKG-INFO | ||
blinker.egg-info/SOURCES.txt | ||
blinker.egg-info/dependency_links.txt | ||
blinker.egg-info/top_level.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
|
13 changes: 13 additions & 0 deletions
13
vendor/lib/python/blinker-1.2.egg-info/installed-files.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
../blinker/_utilities.py | ||
../blinker/__init__.py | ||
../blinker/_saferef.py | ||
../blinker/base.py | ||
../blinker/_utilities.pyc | ||
../blinker/__init__.pyc | ||
../blinker/_saferef.pyc | ||
../blinker/base.pyc | ||
./ | ||
PKG-INFO | ||
dependency_links.txt | ||
SOURCES.txt | ||
top_level.txt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blinker |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from blinker.base import ( | ||
ANY, | ||
NamedSignal, | ||
Namespace, | ||
Signal, | ||
receiver_connected, | ||
signal, | ||
) | ||
|
||
__all__ = [ | ||
'ANY', | ||
'NamedSignal', | ||
'Namespace', | ||
'Signal', | ||
'receiver_connected', | ||
'signal', | ||
] | ||
|
||
|
||
__version__ = '1.2' |
Oops, something went wrong.