string exceptions

Bug #586718 reported by Stani on 2010-05-28
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Phatch
Low
Unassigned

Bug Description

# Bazaar merge directive format 2 (Bazaar 0.90)
# revision_id: <email address hidden>
# target_branch: bzr+ssh://bazaar.launchpad.net/~stani/phatch/trunk/
# testament_sha1: c0ec6e75b4915a06c8761da7c92d2f38c8e419cc
# timestamp: 2010-05-27 20:57:53 +0200
# base_revision_id: <email address hidden>-\
# 2py9xvo0k45voi8y
#
# Begin patch
=== modified file 'phatch/lib/pyWx/treeDragDrop.py'
--- phatch/lib/pyWx/treeDragDrop.py 2010-03-29 22:35:00 +0000
+++ phatch/lib/pyWx/treeDragDrop.py 2010-05-27 18:54:35 +0000
@@ -78,7 +78,7 @@
                return 0
            return 1
        else:
- raise 'no order'
+ raise Exception('no order')

    # Drag & drop
    def EnableDrag(self, dragTo=None):

=== modified file 'phatch/other/pubsub.py'
--- phatch/other/pubsub.py 2008-02-05 17:53:46 +0000
+++ phatch/other/pubsub.py 2010-05-27 18:54:35 +0000
@@ -97,7 +97,7 @@
    elif isfunction(callableObject):
        return _paramMinCountFunc(callableObject)
    else:
- raise 'Cannot determine type of callable: '+repr(callableObject)
+ raise Exception('Cannot determine type of callable: '+repr(callableObject))

Stani (stani) on 2010-05-28
Changed in phatch:
importance: Undecided → Low
milestone: none → 0.2.8
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers