fixed print in template

This commit is contained in:
mdipierro
2019-01-01 18:28:24 -08:00
parent 1fff3fc237
commit 5e0f6c19bf
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -23,7 +23,6 @@ try:
import pydal import pydal
sys.modules['pydal'] = pydal sys.modules['pydal'] = pydal
except ImportError: except ImportError:
raise
raise RuntimeError( raise RuntimeError(
"web2py depends on pydal, which apparently you have not installed.\n" + "web2py depends on pydal, which apparently you have not installed.\n" +
"Probably you cloned the repository using git without '--recursive'" + "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." "You can also download a complete copy from http://www.web2py.com."
) )
from .globals import current from .globals import current
from .html import * from .html import *
from .validators import * from .validators import *
-1
View File
@@ -1006,4 +1006,3 @@ if __name__ == '__main__':
def test(): def test():
return dict(a=3) return dict(a=3)
assert test() == '<div>0</div><div>1</div><div>2</div>' assert test() == '<div>0</div><div>1</div><div>2</div>'
print 'ok'