Changeset 508:beb30be3bffa
- Timestamp:
- 10/15/08 13:35:40
(3 months ago)
- Author:
- Brian Warner <warner@allmydata.com>
- branch:
- default
- Message:
misc/classify_foolscap.py: update tubconnector regexp
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r507 |
r508 |
|
| 1 | 1 | 2008-10-15 Brian Warner <warner@allmydata.com> |
|---|
| | 2 | |
|---|
| | 3 | * misc/classify_foolscap.py (TUBCON_RE): update to match |
|---|
| | 4 | foolscap-tubconnector messages for both old and new versions of |
|---|
| | 5 | Foolscap, and for python2.4 and 2.5 . |
|---|
| 2 | 6 | |
|---|
| 3 | 7 | * foolscap/logging/incident.py (IncidentClassifier): add --verbose |
|---|
| r496 |
r508 |
|
| 4 | 4 | import re |
|---|
| 5 | 5 | |
|---|
| 6 | | TUBCON_RE = re.compile(r'^Tub.connectorFinished: WEIRD, <foolscap.negotiate.TubConnector instance at \w+> is not in \[') |
|---|
| | 6 | TUBCON_RE = re.compile(r'^Tub.connectorFinished: WEIRD, <foolscap.negotiate.TubConnector (instance|object) at [\w ]+> is not in \[') |
|---|
| 7 | 7 | def classify_incident(trigger): |
|---|
| 8 | 8 | m = trigger.get('message', '') |
|---|