[Python-modules-commits] r16076 - in packages/python-gdata/trunk/debian (3 files)

anoteng-guest at users.alioth.debian.org anoteng-guest at users.alioth.debian.org
Wed Mar 9 19:25:33 UTC 2011


    Date: Wednesday, March 9, 2011 @ 19:25:27
  Author: anoteng-guest
Revision: 16076

New upstream release
remove patch: remove_string_exception.patch (fixed upstream)

Modified:
  packages/python-gdata/trunk/debian/changelog
  packages/python-gdata/trunk/debian/patches/series
Deleted:
  packages/python-gdata/trunk/debian/patches/remove_string_exception.patch

Modified: packages/python-gdata/trunk/debian/changelog
===================================================================
--- packages/python-gdata/trunk/debian/changelog	2011-03-09 19:15:42 UTC (rev 16075)
+++ packages/python-gdata/trunk/debian/changelog	2011-03-09 19:25:27 UTC (rev 16076)
@@ -1,4 +1,4 @@
-python-gdata (2.0.13-1) unstable; urgency=low
+python-gdata (2.0.14-1) unstable; urgency=low
 
   * Team upload.
   * New upstream release (Closes: #581812)
@@ -6,12 +6,12 @@
     - No change needed.
   * Change source format to 3.0 (quilt)
   * Remove patch python2.4_shebangs.patch (fixed upstream)
-  * Remove deprecated string exception (patch from upstream bts)
+  * Remove deprecated string exception (fixed upstream)
     (Closes: #585294)
   * Bump debhelper build depends to (>= 8)
   * Update copyright info
 
- -- Andreas Noteng <andreas at noteng.no>  Wed, 02 Mar 2011 06:39:17 +0100
+ -- Andreas Noteng <andreas at noteng.no>  Wed, 09 Mar 2011 20:20:04 +0100
 
 python-gdata (2.0.8-1.1) unstable; urgency=medium
 

Deleted: packages/python-gdata/trunk/debian/patches/remove_string_exception.patch
===================================================================
--- packages/python-gdata/trunk/debian/patches/remove_string_exception.patch	2011-03-09 19:15:42 UTC (rev 16075)
+++ packages/python-gdata/trunk/debian/patches/remove_string_exception.patch	2011-03-09 19:25:27 UTC (rev 16076)
@@ -1,43 +0,0 @@
-Patch from upstream BTS removing old string exception:
-http://code.google.com/p/gdata-python-client/issues/detail?id=482
-Index: gdata-2.0.13/src/atom/service.py
-===================================================================
---- gdata-2.0.13.orig/src/atom/service.py	2010-12-29 10:59:19.014095901 +0100
-+++ gdata-2.0.13/src/atom/service.py	2010-12-29 11:02:03.000000000 +0100
-@@ -426,7 +426,7 @@
-        
-       p_status=response.split()[1]
-       if p_status!=str(200):
--        raise 'Error status=',str(p_status)
-+        raise atom.http.ProxyError('Error status=%s' % p_status)
- 
-       # Trivial setup for ssl socket.
-       ssl = socket.ssl(p_sock, None, None)
-Index: gdata-2.0.13/tests/atom_tests/service_test.py
-===================================================================
---- gdata-2.0.13.orig/tests/atom_tests/service_test.py	2010-12-29 11:02:33.834095901 +0100
-+++ gdata-2.0.13/tests/atom_tests/service_test.py	2010-12-29 11:05:01.000000000 +0100
-@@ -16,6 +16,7 @@
- 
- __author__ = 'j.s at google.com (Jeff Scudder)'
- 
-+import os
- import unittest
- import atom.service
- import atom.mock_http_core
-@@ -153,6 +154,15 @@
-     response = client.Get('http://example.com:1234')
-     self.assertEqual(response.getheader('Echo-Host'), 'example.com:1234')
- 
-+    def testBadHttpsProxyRaisesRealException(self):
-+      """Test that real exceptions are raised when there is an error connecting to
-+      a host with an https proxy    
-+      """
-+      client = atom.service.AtomService(server='example.com')
-+      client.server = 'example.com'
-+      os.environ['https_proxy'] = 'http://example.com'
-+      self.assertRaises(atom.http.ProxyError,
-+          atom.service.PrepareConnection, client, 'https://example.com')
- 
- def suite():
-   return conf.build_suite([AtomServiceUnitTest])

Modified: packages/python-gdata/trunk/debian/patches/series
===================================================================
--- packages/python-gdata/trunk/debian/patches/series	2011-03-09 19:15:42 UTC (rev 16075)
+++ packages/python-gdata/trunk/debian/patches/series	2011-03-09 19:25:27 UTC (rev 16076)
@@ -1,3 +1,2 @@
 remove_shebangs.patch
 fix_wrong_interpreter_path.patch
-remove_string_exception.patch




More information about the Python-modules-commits mailing list