[Python-modules-commits] r31414 - in packages/genshi/trunk/debian/patches (1 file)
barry at users.alioth.debian.org
barry at users.alioth.debian.org
Thu Nov 6 21:28:49 UTC 2014
Date: Thursday, November 6, 2014 @ 21:28:48
Author: barry
Revision: 31414
Remove unused patch.
Deleted:
packages/genshi/trunk/debian/patches/disable-python34.patch
Deleted: packages/genshi/trunk/debian/patches/disable-python34.patch
===================================================================
--- packages/genshi/trunk/debian/patches/disable-python34.patch 2014-11-06 16:28:19 UTC (rev 31413)
+++ packages/genshi/trunk/debian/patches/disable-python34.patch 2014-11-06 21:28:48 UTC (rev 31414)
@@ -1,19 +0,0 @@
-Description: Raise an ImportError when trying to import genshi in a
- Python > 3.3, since it is not yet compatible with Python 3.4.
- Remove this when upstream ticket 582 is resolved.
- http://genshi.edgewall.org/ticket/582
-Author: Barry Warsaw <barry at debian.org>
-Forwarded: not-needed
-
---- a/genshi/__init__.py
-+++ b/genshi/__init__.py
-@@ -22,5 +22,9 @@
- __docformat__ = 'restructuredtext en'
- __version__ = '0.7'
-
-+import sys
-+if not sys.version_info < (3,4):
-+ raise ImportError('See http://genshi.edgewall.org/ticket/582')
-+
- from genshi.core import *
- from genshi.input import ParseError, XML, HTML
More information about the Python-modules-commits
mailing list