[Python-apps-commits] r56 - in /packages/harvestman/trunk/debian: changelog patches/00list patches/02_fix_feedparser_indentation.dpatch

kumanna-guest at users.alioth.debian.org kumanna-guest at users.alioth.debian.org
Fri Sep 14 01:07:01 UTC 2007


Author: kumanna-guest
Date: Fri Sep 14 01:07:01 2007
New Revision: 56

URL: http://svn.debian.org/wsvn/python-apps/?sc=1&rev=56
Log:
* Clean up diff file. Use 01_setup_fix.dpatch to prevent unnecessary doc
* Add XS-Vcs-Browser and XS-Vcs-Svn.
  myself to Uploaders.
* Add 02_fix_feedparser_indentation.dpatch to fix some indentation
  issues in feedparser.py.

Added:
    packages/harvestman/trunk/debian/patches/02_fix_feedparser_indentation.dpatch   (with props)
Modified:
    packages/harvestman/trunk/debian/changelog
    packages/harvestman/trunk/debian/patches/00list

Modified: packages/harvestman/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/python-apps/packages/harvestman/trunk/debian/changelog?rev=56&op=diff
==============================================================================
--- packages/harvestman/trunk/debian/changelog (original)
+++ packages/harvestman/trunk/debian/changelog Fri Sep 14 01:07:01 2007
@@ -1,12 +1,14 @@
 harvestman (1.4.6-6) UNRELEASED; urgency=low
 
-  * Clean up diff file. Use 01_setup_fix to prevent unnecessary doc
+  * Clean up diff file. Use 01_setup_fix.dpatch to prevent unnecessary doc
     installation.
-  * Add XS-Vcs-Browser and XS-Vcs-Svn
+  * Add XS-Vcs-Browser and XS-Vcs-Svn.
   * Make Debian Python Application Packaging Team the maintainer, move
-    myself to Uploaders
+    myself to Uploaders.
+  * Add 02_fix_feedparser_indentation.dpatch to fix some indentation
+    issues in feedparser.py.
 
- -- Kumar Appaiah <akumar at ee.iitm.ac.in>  Fri, 14 Sep 2007 00:59:00 +0530
+ -- Kumar Appaiah <akumar at ee.iitm.ac.in>  Fri, 14 Sep 2007 01:17:09 +0530
 
 harvestman (1.4.6-5) unstable; urgency=low
 

Modified: packages/harvestman/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-apps/packages/harvestman/trunk/debian/patches/00list?rev=56&op=diff
==============================================================================
--- packages/harvestman/trunk/debian/patches/00list (original)
+++ packages/harvestman/trunk/debian/patches/00list Fri Sep 14 01:07:01 2007
@@ -1,1 +1,3 @@
 01_setup_fix
+02_fix_feedparser_indentation
+

Added: packages/harvestman/trunk/debian/patches/02_fix_feedparser_indentation.dpatch
URL: http://svn.debian.org/wsvn/python-apps/packages/harvestman/trunk/debian/patches/02_fix_feedparser_indentation.dpatch?rev=56&op=file
==============================================================================
--- packages/harvestman/trunk/debian/patches/02_fix_feedparser_indentation.dpatch (added)
+++ packages/harvestman/trunk/debian/patches/02_fix_feedparser_indentation.dpatch Fri Sep 14 01:07:01 2007
@@ -1,0 +1,34 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_fix_feedparser_indentation.dpatch by  <akumar at ee.iitm.ac.in>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad harvestman-1.4.6~/HarvestMan/feedparser.py harvestman-1.4.6/HarvestMan/feedparser.py
+--- harvestman-1.4.6~/HarvestMan/feedparser.py	2005-08-10 20:13:55.000000000 +0530
++++ harvestman-1.4.6/HarvestMan/feedparser.py	2007-09-14 01:16:01.000000000 +0530
+@@ -8,10 +8,10 @@
+     self._stream = stream
+        
+     def close(self):
+-    try:
+-        self._stream.close()
+-    except Exception, e:
+-        print e
++        try:
++            self._stream.close()
++        except Exception, e:
++            print e
+  
+     def start_element(self, name, attrs):
+        
+@@ -41,7 +41,7 @@
+         if self._node and data:
+             # print 'Setting option for %s %s ' % (self._node, data)
+             if self._node=='link':
+-        print data
++                print data
+                 self._stream.write(data)
+ 
+ if __name__=="__main__":

Propchange: packages/harvestman/trunk/debian/patches/02_fix_feedparser_indentation.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Python-apps-commits mailing list