Bug 210603 - [PATCH] www/py-pylons: update to 1.0.2
Summary: [PATCH] www/py-pylons: update to 1.0.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-python (Nobody)
URL:
Keywords: patch
Depends on:
Blocks: 210605
  Show dependency treegraph
 
Reported: 2016-06-26 23:39 UTC by Ilia Skalozubov
Modified: 2016-06-27 01:37 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
py-pylons-1.0.2.patch (2.88 KB, patch)
2016-06-26 23:39 UTC, Ilia Skalozubov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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