[Python-apps-commits] r2358 - in packages/harvestman/trunk/debian (4 files)

akumar at users.alioth.debian.org akumar at users.alioth.debian.org
Tue Feb 10 23:44:58 UTC 2009


    Date: Tuesday, February 10, 2009 @ 23:44:57
  Author: akumar
Revision: 2358

  - Change to debian.org e-mail address.
  - debian/patches: 04_fix_connector_vercheck.dpatch This patch fixes a
    bug which arose because of a check for Python 2.4 specifically and not
    2.4 or later versions in connector.py. (Closes: #514804)

Added:
  packages/harvestman/trunk/debian/patches/04_fix_connector_vercheck.dpatch
Modified:
  packages/harvestman/trunk/debian/changelog
  packages/harvestman/trunk/debian/control
  packages/harvestman/trunk/debian/patches/00list

Modified: packages/harvestman/trunk/debian/changelog
===================================================================
--- packages/harvestman/trunk/debian/changelog	2009-02-10 21:57:07 UTC (rev 2357)
+++ packages/harvestman/trunk/debian/changelog	2009-02-10 23:44:57 UTC (rev 2358)
@@ -1,12 +1,19 @@
-harvestman (1.4.6-8) UNRELEASED; urgency=low
+harvestman (1.4.6-9) UNRELEASED; urgency=medium
 
+  [ Sandro Tosi ]
   * debian/control
     - switch Vcs-Browser field to viewsvn
 
- -- Sandro Tosi <morph at debian.org>  Mon, 03 Nov 2008 22:47:31 +0100
+  [ Kumar Appaiah ]
+    - Change to debian.org e-mail address.
+    - debian/patches: 04_fix_connector_vercheck.dpatch This patch fixes a
+      bug which arose because of a check for Python 2.4 specifically and not
+      2.4 or later versions in connector.py. (Closes: #514804)
 
-harvestman (1.4.6-7) unstable; urgency=medium
+ -- Kumar Appaiah <akumar at debian.org>  Mon, 03 Nov 2008 22:47:31 +0100
 
+harvestman (1.4.6-8) unstable; urgency=medium
+
   [ Kumar Appaiah ]
   * debian/control:
     + Add Homepage field.

Modified: packages/harvestman/trunk/debian/control
===================================================================
--- packages/harvestman/trunk/debian/control	2009-02-10 21:57:07 UTC (rev 2357)
+++ packages/harvestman/trunk/debian/control	2009-02-10 23:44:57 UTC (rev 2358)
@@ -2,7 +2,7 @@
 Section: web
 Priority: optional
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
-Uploaders: Kumar Appaiah <akumar at ee.iitm.ac.in>, Anand Pillai <abpillai at gmail.com>
+Uploaders: Kumar Appaiah <akumar at debian.org>, Anand Pillai <abpillai at gmail.com>
 Build-Depends-Indep: python-dev (>= 2.3.5-11), python-central (>= 0.6)
 Build-Depends: debhelper (>= 5.0.37.3), dpatch
 Standards-Version: 3.7.3

Modified: packages/harvestman/trunk/debian/patches/00list
===================================================================
--- packages/harvestman/trunk/debian/patches/00list	2009-02-10 21:57:07 UTC (rev 2357)
+++ packages/harvestman/trunk/debian/patches/00list	2009-02-10 23:44:57 UTC (rev 2358)
@@ -1,3 +1,4 @@
 01_setup_fix
 02_fix_feedparser_indentation
 03_fix_encoding_declaration
+04_fix_connector_vercheck

Added: packages/harvestman/trunk/debian/patches/04_fix_connector_vercheck.dpatch
===================================================================
--- packages/harvestman/trunk/debian/patches/04_fix_connector_vercheck.dpatch	                        (rev 0)
+++ packages/harvestman/trunk/debian/patches/04_fix_connector_vercheck.dpatch	2009-02-10 23:44:57 UTC (rev 2358)
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 04_fix_connector_vercheck.dpatch by  <akumar at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: A check is used for the cookielib features available in Python
+##     2.4 onwards. However, the check was exactly for Python 2.4. This
+##     patch allows the check to be extended to use Python 2.5 as well.
+
+ at DPATCH@
+diff -urNad harvestman-1.4.6~/HarvestMan/connector.py harvestman-1.4.6/HarvestMan/connector.py
+--- harvestman-1.4.6~/HarvestMan/connector.py	2005-08-19 03:19:04.000000000 -0500
++++ harvestman-1.4.6/HarvestMan/connector.py	2009-02-10 17:33:39.000000000 -0600
+@@ -373,7 +373,7 @@
+             # For Python 2.4, use cookielib support
+             # To fix HTTP cookie errors such as those
+             # produced by http://www.eidsvoll.kommune.no/
+-            if minor_version==4:
++            if minor_version>=4:
+                 import cookielib
+                 cj = cookielib.MozillaCookieJar()
+                 cookiehandler = urllib2.HTTPCookieProcessor(cj)


Property changes on: packages/harvestman/trunk/debian/patches/04_fix_connector_vercheck.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Python-apps-commits mailing list