Skip to content

Commit aae7a2e

Browse files
author
Steve Chaplin
committed
SC 24/11/2004
svn path=/trunk/matplotlib/; revision=711
1 parent 07e8dd3 commit aae7a2e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

lib/matplotlib/backends/backend_gtk.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1535,18 +1535,6 @@ def error_msg_gtk(msg, parent=None):
15351535
dialog.destroy()
15361536

15371537

1538-
class MPLError (Exception):
1539-
"""Exception for Matplotlib errors
1540-
Attributes:
1541-
message -- explanation of the error
1542-
"""
1543-
def __init__ (self, message):
1544-
self.message = message
1545-
1546-
def __str__ (self):
1547-
return self.message
1548-
1549-
15501538
def exception_handler(type, value, tb):
15511539
"""Handle uncaught exceptions
15521540
It does not catch SystemExit

0 commit comments

Comments
 (0)