From: Evan Broder Date: Sun, 21 Nov 2010 07:16:52 +0000 (-0800) Subject: Work around a webhelpers/Pylons incompatibility X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=304e3b59dc9bf009bbac56dc039ad26b838edc48;p=bluechips.git Work around a webhelpers/Pylons incompatibility --- diff --git a/bluechips/lib/base.py b/bluechips/lib/base.py index e485c57..9862d8f 100644 --- a/bluechips/lib/base.py +++ b/bluechips/lib/base.py @@ -3,6 +3,14 @@ Provides the BaseController class for subclassing. """ +# Monkey-patch around a webhelpers/Pylons incompatibility +try: + import webhelpers.pylonslib.secure_form + import webhelpers.html + webhelpers.html.secure_form = webhelpers.pylonslib.secure_form +except ImportError: + pass + from decorator import decorator from pylons import request, session, tmpl_context as c diff --git a/setup.py b/setup.py index 43696a8..d928902 100755 --- a/setup.py +++ b/setup.py @@ -9,7 +9,7 @@ except ImportError: setup( name='BlueChips', - version='1.0.2', + version='1.0.3', description='BlueChips - finances for people with shared expenses', long_description=open('README.rst').read(), author='Residents of Blue Sun Corporate Headquarters',