diff -Nru wireshark-1.2.11/debian/patches/13_raise-python2.6-compatible-exceptions.patch wireshark-1.2.11/debian/patches/13_raise-python2.6-compatible-exceptions.patch --- wireshark-1.2.11/debian/patches/13_raise-python2.6-compatible-exceptions.patch 1969-12-31 18:00:00.000000000 -0600 +++ wireshark-1.2.11/debian/patches/13_raise-python2.6-compatible-exceptions.patch 2010-12-24 08:11:27.000000000 -0600 @@ -0,0 +1,20 @@ +--- a/tools/asn2wrs.py (revision 35257) ++++ b/tools/asn2wrs.py (revision 35258) +@@ -443,7 +443,7 @@ + if ident in self.assignments: + raise DuplicateError("assignment", ident) + if ident in self.defined_dict: +- raise "cross-module duplicates for " + ident ++ raise Exception("cross-module duplicates for %s" % ident) + self.defined_dict [ident] = 1 + self.assignments[ident] = val + self.dependencies [ident] = dependencies +@@ -843,7 +843,7 @@ + def dummy_import_type(self, ident): + # dummy imported + if ident in self.type: +- raise "Try to dummy import for existing type :" + ident ++ raise Exception("Try to dummy import for existing type :%s" % ident) + ethtype = asn2c(ident) + self.type[ident] = {'import' : 'xxx', 'proto' : 'xxx', + 'ethname' : ethtype } diff -Nru wireshark-1.2.11/debian/patches/series wireshark-1.2.11/debian/patches/series --- wireshark-1.2.11/debian/patches/series 2010-11-21 12:42:44.000000000 -0600 +++ wireshark-1.2.11/debian/patches/series 2010-12-24 08:12:35.000000000 -0600 @@ -10,6 +10,7 @@ 10_prevent_libsmi_crash.patch 11_disable_oid_resolution_by_default.patch 12_fix_about_crash.patch +13_raise-python2.6-compatible-exceptions.patch 16_licence_about_location.patch 21_dumpcap.patch 22_lp606063-fix-assertion-capture_start.patch