Ticket #7245: proper-exceptions.dpatch

File proper-exceptions.dpatch, 670 bytes (added by superm1@…, 11 years ago)
Line 
1#! /bin/sh /usr/share/dpatch/dpatch-run
2## proper-exceptions.dpatch by Mario Limonciello <superm1@ubuntu.com>
3##
4## All lines beginning with `## DP:' are a description of the patch.
5## DP: No description.
6
7@DPATCH@
8diff -urNad mythtv~/bindings/python/MythTV/MythLog.py mythtv/bindings/python/MythTV/MythLog.py
9--- mythtv~/bindings/python/MythTV/MythLog.py   2009-10-05 13:19:38.000000000 -0500
10+++ mythtv/bindings/python/MythTV/MythLog.py    2009-10-05 19:34:22.000000000 -0500
11@@ -26,7 +26,7 @@
12        def Msg(self, level, msg, *args, **kwargs):
13                self.log.log(level, msg, *args, **kwargs)
14 
15-class MythError:
16+class MythError(Exception):
17        """
18        A simple exception class
19        """