fixed print in template
This commit is contained in:
@@ -23,7 +23,6 @@ try:
|
||||
import pydal
|
||||
sys.modules['pydal'] = pydal
|
||||
except ImportError:
|
||||
raise
|
||||
raise RuntimeError(
|
||||
"web2py depends on pydal, which apparently you have not installed.\n" +
|
||||
"Probably you cloned the repository using git without '--recursive'" +
|
||||
@@ -32,6 +31,7 @@ except ImportError:
|
||||
"You can also download a complete copy from http://www.web2py.com."
|
||||
)
|
||||
|
||||
|
||||
from .globals import current
|
||||
from .html import *
|
||||
from .validators import *
|
||||
|
||||
@@ -1006,4 +1006,3 @@ if __name__ == '__main__':
|
||||
def test():
|
||||
return dict(a=3)
|
||||
assert test() == '<div>0</div><div>1</div><div>2</div>'
|
||||
print 'ok'
|
||||
|
||||
Reference in New Issue
Block a user