1

missing "pass" in view

view story
linux-howto

http://stackoverflow.com – {{extend 'layout.html'}} {{import xml.etree.ElementTree as ET}} <h1> This is a Stations detail page </h1> {{filename = xmlfile}} {{fh = open(filename, "r")}} {{while True:}} {{line = fh.readline()}} {{print(line, end="")}} {{fh.close()}} {{=BEAUTIFY(response._vars)}} The above code is showing "missing "pass" in view" error in web2py. Not sure why this error is showing up (HowTos)