Skip to content
This repository has been archived by the owner on Oct 17, 2018. It is now read-only.

Commit

Permalink
Work around a webhelpers/Pylons incompatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
ebroder committed Nov 21, 2010
1 parent eace1d0 commit 304e3b5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions bluechips/lib/base.py
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -9,7 +9,7 @@

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',
Expand Down

0 comments on commit 304e3b5

Please sign in to comment.