[python-testtools/f17] Update compat patch

Michel Alexandre Salim salimma at fedoraproject.org
Sat Oct 27 18:20:52 UTC 2012


commit 89c6f8a7d04035956ee315dc0ee62b0fe495dbae
Author: Michel Alexandre Salim <salimma at fedoraproject.org>
Date:   Sun Oct 28 01:20:19 2012 +0700

    Update compat patch

 python-testtools.spec                              |    2 +-
 ...-0.9.19-py3.patch => testtools-0.9.21-py3.patch |    7 +++----
 2 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/python-testtools.spec b/python-testtools.spec
index aa3e849..0bcb32a 100644
--- a/python-testtools.spec
+++ b/python-testtools.spec
@@ -13,7 +13,7 @@ Group:          Development/Tools
 License:        MIT
 URL:            https://launchpad.net/testtools
 Source0:        http://pypi.python.org/packages/source/t/testtools/testtools-%{version}.tar.gz
-Patch0:		testtools-0.9.19-py3.patch
+Patch0:		testtools-0.9.21-py3.patch
 
 BuildArch:      noarch
 BuildRequires:  python2-devel
diff --git a/testtools-0.9.19-py3.patch b/testtools-0.9.21-py3.patch
similarity index 66%
rename from testtools-0.9.19-py3.patch
rename to testtools-0.9.21-py3.patch
index e22dd69..8a8c4db 100644
--- a/testtools-0.9.19-py3.patch
+++ b/testtools-0.9.21-py3.patch
@@ -1,12 +1,11 @@
---- testtools-0.9.19/testtools/compat.py.py3	2012-03-01 19:55:18.000000000 +0700
-+++ testtools-0.9.19/testtools/compat.py	2012-10-20 12:15:22.119810617 +0700
-@@ -32,11 +32,7 @@
+--- testtools-0.9.21/testtools/compat.py.py3	2012-10-25 20:24:57.000000000 +0700
++++ testtools-0.9.21/testtools/compat.py	2012-10-28 01:19:18.111041841 +0700
+@@ -32,10 +32,7 @@
  BytesIO = try_imports(['StringIO.StringIO', 'io.BytesIO'])
  StringIO = try_imports(['StringIO.StringIO', 'io.StringIO'])
  
 -try:
 -    from testtools import _compat2x as _compat
--    _compat
 -except SyntaxError:
 -    from testtools import _compat3x as _compat
 +from testtools import _compat3x as _compat


More information about the scm-commits mailing list