[Python-modules-commits] r13311 - in packages/creoleparser/trunk/debian (2 files)
bzed at users.alioth.debian.org
bzed at users.alioth.debian.org
Tue Jun 8 10:51:20 UTC 2010
Date: Tuesday, June 8, 2010 @ 10:49:58
Author: bzed
Revision: 13311
Fix several string exceptions, which are not supported in Python2.6.
Added:
packages/creoleparser/trunk/debian/patches/raise_string_fix.dpatch
Modified:
packages/creoleparser/trunk/debian/changelog
Modified: packages/creoleparser/trunk/debian/changelog
===================================================================
--- packages/creoleparser/trunk/debian/changelog 2010-06-07 22:36:49 UTC (rev 13310)
+++ packages/creoleparser/trunk/debian/changelog 2010-06-08 10:49:58 UTC (rev 13311)
@@ -1,3 +1,9 @@
+creoleparser (0.7.2-2) unstable; urgency=low
+
+ * Fix several string exceptions, which are not supported in Python2.6.
+
+ -- Bernd Zeimetz <bzed at debian.org> Tue, 08 Jun 2010 12:49:39 +0200
+
creoleparser (0.7.2-1) unstable; urgency=low
* New upstream version.
Added: packages/creoleparser/trunk/debian/patches/raise_string_fix.dpatch
===================================================================
--- packages/creoleparser/trunk/debian/patches/raise_string_fix.dpatch (rev 0)
+++ packages/creoleparser/trunk/debian/patches/raise_string_fix.dpatch 2010-06-08 10:49:58 UTC (rev 13311)
@@ -0,0 +1,37 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## raise_string_fix.dpatch by Bernd Zeimetz <bzed at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' creoleparser~/creoleparser/elements.py creoleparser/creoleparser/elements.py
+--- creoleparser~/creoleparser/elements.py 2010-05-08 15:25:30.000000000 +0200
++++ creoleparser/creoleparser/elements.py 2010-06-08 12:48:33.210944339 +0200
+@@ -536,7 +536,7 @@
+ elif isinstance(value, (basestring,bldr.Fragment,bldr.Element, Stream)):
+ return value
+ else:
+- raise "macros can only return strings and genshi objects"
++ raise Exception("macros can only return strings and genshi objects")
+
+
+ class BodiedMacro(Macro):
+@@ -594,7 +594,7 @@
+ elif isinstance(value, (basestring,bldr.Fragment, Stream)):
+ return [value,tail]
+ else:
+- raise "macros can only return strings and genshi objects"
++ raise Exception("macros can only return strings and genshi objects")
+
+
+
+@@ -695,7 +695,7 @@
+ elif isinstance(value, bldr.Fragment):
+ return [bldr.tag.p(value), tail]
+ else:
+- raise "macros can only return strings and genshi objects"
++ raise Exception("macros can only return strings and genshi objects")
+
+
+ class RawLink(InlineElement):
Property changes on: packages/creoleparser/trunk/debian/patches/raise_string_fix.dpatch
___________________________________________________________________
Added: svn:executable
+ *
More information about the Python-modules-commits
mailing list