[Python-apps-commits] r11008 - in packages/spambayes/trunk/debian (3 files)

hugo6390-guest at users.alioth.debian.org hugo6390-guest at users.alioth.debian.org
Sun Jun 29 19:54:43 UTC 2014


    Date: Sunday, June 29, 2014 @ 19:54:43
  Author: hugo6390-guest
Revision: 11008

Deleted deprecation_warning_fix.patch: useless

Modified:
  packages/spambayes/trunk/debian/changelog
  packages/spambayes/trunk/debian/patches/series
Deleted:
  packages/spambayes/trunk/debian/patches/deprecation_warning_fix.patch

Modified: packages/spambayes/trunk/debian/changelog
===================================================================
--- packages/spambayes/trunk/debian/changelog	2014-06-29 19:42:39 UTC (rev 11007)
+++ packages/spambayes/trunk/debian/changelog	2014-06-29 19:54:43 UTC (rev 11008)
@@ -1,8 +1,6 @@
 spambayes (1.1b1-2) unstable; urgency=low
 
-  * debian/patches/deprecation_warning_fix.patch, debian/patches/series:
-    - Added deprecation_warning_fix.patch to fix the 'from sets 
-      import Set' warning. (closes: #600628)
+  * 'from sets import Set' warning fixed by Upstream. (closes: #600628)
   
 
  -- Hugo Lefeuvre <hugo6390 at orange.fr>  Sun, 29 Jun 2014 21:12:29 +0200

Deleted: packages/spambayes/trunk/debian/patches/deprecation_warning_fix.patch
===================================================================
--- packages/spambayes/trunk/debian/patches/deprecation_warning_fix.patch	2014-06-29 19:42:39 UTC (rev 11007)
+++ packages/spambayes/trunk/debian/patches/deprecation_warning_fix.patch	2014-06-29 19:54:43 UTC (rev 11008)
@@ -1,32 +0,0 @@
---- tokenizer.py-orig	2010-10-18 11:57:53.166412822 -0200
-+++ tokenizer.py	2010-10-18 11:58:22.863268936 -0200
-@@ -16,7 +16,12 @@
- import urlparse
- import urllib
- try:
--    from sets import Set
-+    import sys
-+    if sys.version_info < (2, 4, 0):
-+        from sets import Set
-+        del sys
-+    else:
-+        Set = set
- except ImportError:
-     from compatsets import Set
- 
---- classifier.py-orig	2010-10-18 11:56:17.656524146 -0200
-+++ classifier.py	2010-10-18 11:55:42.460250309 -0200
-@@ -40,7 +40,12 @@
- import math
- import types
- try:
--    from sets import Set
-+    import sys
-+    if sys.version_info < (2, 4, 0):
-+        from sets import Set
-+        del sys
-+    else:
-+        Set = set
- except ImportError:
-     from spambayes.compatsets import Set
- 

Modified: packages/spambayes/trunk/debian/patches/series
===================================================================
--- packages/spambayes/trunk/debian/patches/series	2014-06-29 19:42:39 UTC (rev 11007)
+++ packages/spambayes/trunk/debian/patches/series	2014-06-29 19:54:43 UTC (rev 11008)
@@ -1,4 +1,3 @@
-deprecation_warning_fix.patch
 gnus_fix.patch
 paths_fix.patch
 asyncore.patch




More information about the Python-apps-commits mailing list