[Python-modules-commits] r30514 - in packages/pylons/trunk/debian (3 files)

andrewsh at users.alioth.debian.org andrewsh at users.alioth.debian.org
Sun Sep 7 13:18:07 UTC 2014


    Date: Sunday, September 7, 2014 @ 13:18:07
  Author: andrewsh
Revision: 30514

Add a patch from Uriy Zhuravev so that we don't use exception attribute
which WebOb 1.4 has removed.

Added:
  packages/pylons/trunk/debian/patches/dont_use_removed_exception_attribute.patch
Modified:
  packages/pylons/trunk/debian/changelog
  packages/pylons/trunk/debian/patches/series

Modified: packages/pylons/trunk/debian/changelog
===================================================================
--- packages/pylons/trunk/debian/changelog	2014-09-07 13:07:18 UTC (rev 30513)
+++ packages/pylons/trunk/debian/changelog	2014-09-07 13:18:07 UTC (rev 30514)
@@ -1,3 +1,10 @@
+pylons (1.0.1-2) UNRELEASED; urgency=medium
+
+  * Add a patch from Uriy Zhuravev so that we don't use exception attribute
+    which WebOb 1.4 has removed.
+
+ -- Andrew Shadura <andrewsh at debian.org>  Sun, 07 Sep 2014 15:13:00 +0200
+
 pylons (1.0.1-1) unstable; urgency=low
 
   [ Piotr Ożarowski ]

Added: packages/pylons/trunk/debian/patches/dont_use_removed_exception_attribute.patch
===================================================================
--- packages/pylons/trunk/debian/patches/dont_use_removed_exception_attribute.patch	                        (rev 0)
+++ packages/pylons/trunk/debian/patches/dont_use_removed_exception_attribute.patch	2014-09-07 13:18:07 UTC (rev 30514)
@@ -0,0 +1,21 @@
+Author: Uriy Zhuravev <stalkerg at gmail.com>
+Date: Fri, 18 Jul 2014 01:33:09 +0400
+Description: WebOb 1.4 removed exception attribute; don't use it.
+
+--- a/pylons/controllers/util.py
++++ b/pylons/controllers/util.py
+@@ -207,7 +207,7 @@
+                                   comment=comment)
+     log.debug("Aborting request, status: %s, detail: %r, headers: %r, "
+               "comment: %r", status_code, detail, headers, comment)
+-    raise exc.exception
++    raise exc
+ 
+ 
+ def redirect(url, code=302):
+@@ -221,4 +221,4 @@
+     """
+     log.debug("Generating %s redirect" % code)
+     exc = status_map[code]
+-    raise exc(location=url).exception
++    raise exc(location=url)

Modified: packages/pylons/trunk/debian/patches/series
===================================================================
--- packages/pylons/trunk/debian/patches/series	2014-09-07 13:07:18 UTC (rev 30513)
+++ packages/pylons/trunk/debian/patches/series	2014-09-07 13:18:07 UTC (rev 30514)
@@ -1 +1,2 @@
 move_data_outside_site-packages.patch
+dont_use_removed_exception_attribute.patch




More information about the Python-modules-commits mailing list