Bug 210603

Summary: [PATCH] www/py-pylons: update to 1.0.2
Product: Ports & Packages Reporter: Ilia Skalozubov <freebsd>
Component: Individual Port(s)Assignee: freebsd-python (Nobody) <python>
Status: Closed FIXED    
Severity: Affects Some People CC: freebsd, wen
Priority: --- Keywords: patch
Version: LatestFlags: bugzilla: maintainer-feedback? (python)
Hardware: Any   
OS: Any   
Bug Depends on:    
Bug Blocks: 210605    
Attachments:
Description Flags
py-pylons-1.0.2.patch none

Description Ilia Skalozubov 2016-06-26 23:39:43 UTC
Created attachment 171840 [details]
py-pylons-1.0.2.patch

py-webob-1.4 removes the 'exception' attribute on WSGIHTTPException.

This attribute is used by py-pylons<=1.0.1 in the redirect code, resulting in the following exception:

File '/usr/local/lib/python2.7/site-packages/pylons/controllers/util.py', line 208 in redirect
  raise exc(location=url).exception
AttributeError: 'HTTPFound' object has no attribute 'exception'

This patch fixes the problem by updating py-pylons to 1.0.2.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-06-27 01:36:51 UTC
A commit references this bug:

Author: wen
Date: Mon Jun 27 01:36:09 UTC 2016
New revision: 417626
URL: https://svnweb.freebsd.org/changeset/ports/417626

Log:
  - Update to 1.0.2

  PR:		210603
  Submitted by:	freebsd@skinc.ru

Changes:
  head/www/py-pylons/Makefile
  head/www/py-pylons/distinfo