Ticket #2063 (closed defect: fixed)
String exceptions are being raised in Twisted
| Reported by: | jerub | Owned by: | therve |
|---|---|---|---|
| Priority: | highest | Milestone: | |
| Component: | core | Keywords: | |
| Cc: | therve | Branch: | branches/kill-raise-string-2063-3 |
| Author: | therve | Launchpad Bug: |
Description
Every single one of these lines found with this grep should be eliminated:
shiny% grep raise\ \[\"\'] **/*.py doc/core/examples/row_util.py: raise "Key factory key pool exceeded." twisted/conch/scripts/tkconch.py: raise "can't ask 2 questions at once!" twisted/conch/ssh/asn1.py: raise 'unknown type %s' % type(part) twisted/persisted/aot.py: raise "instance method changed" twisted/persisted/aot.py: raise "Unsupported type: %s" % objType.__name__ twisted/persisted/crefutil.py: raise 'waht!?', n, obj twisted/persisted/marmalade.py: raise "instance method changed" twisted/persisted/marmalade.py: raise "Unjellying Error: key role not set" twisted/persisted/marmalade.py: raise "Unsupported Node Type: %s" % str(node.tagName) twisted/persisted/marmalade.py: raise "Unsupported type: %s" % objType.__name__ twisted/spread/jelly.py: raise 'instance method changed' twisted/test/test_failure.py: raise "bugger off" twisted/test/test_pb.py: raise "factory copy state has no 'id' member %s" % repr(state) twisted/test/test_pb.py: raise "factory class has no ID: %s" % SimpleFactoryCopy.allIDs twisted/test/test_pb.py: raise "factory method found no object with id" twisted/web2/test/test_http.py: raise "Your computer's clock is way wrong, this test will be invalid." twisted/words/xish/xpath.py: raise "UnsupportedOperation"
Change History
Note: See
TracTickets for help on using
tickets.
