X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=bluechips%2Flib%2Fbase.py;fp=bluechips%2Flib%2Fbase.py;h=9862d8ffcc3e8e5fe11c84f53e3196118c4d50a1;hb=304e3b59dc9bf009bbac56dc039ad26b838edc48;hp=e485c5732139b9768f4ba9be38821565615763f3;hpb=eace1d074321d6aa773065b2456d887b25774d80;p=bluechips.git 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