fixed print in template
This commit is contained in:
+1
-1
@@ -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 *
|
||||||
|
|||||||
@@ -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'
|
|
||||||
|
|||||||
Reference in New Issue
Block a user