You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ python test.py
Traceback (most recent call last):
File "test.py", line 46, in <module>
stdout.write(YelpCheetahTemplate(namespace=environ).respond())
File "test.py", line 28, in respond
_v = int('5').OHAI # u"$int('5')OHAI" on line 1, col 1
AttributeError: 'int' object has no attribute 'OHAI'
The bug is probably in the (nasty) placeholder parsing code. I think it can be pretty easily cleaned up with a small state machine
The text was updated successfully, but these errors were encountered:
Expected:
Actual:
The bug is probably in the (nasty) placeholder parsing code. I think it can be pretty easily cleaned up with a small state machine
The text was updated successfully, but these errors were encountered: