~dongpo-deng/sahana-eden/test

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(dp1
S'output'
p2
S''
sS'layer'
p3
S'/Users/dongpo/Python/web2py/applications/Sahana_Eden/controllers/vts.py'
p4
sS'code'
p5
S'def vehicle():\n    db.vts_vehicle.registration.label = T("License Plate")\n    db.vts_vehicle.registration.comment = SPAN("*", _class="req")\n    def veh_postp(jr, output):\n        shn_action_buttons(jr)\n        return output\n    response.s3.postp = veh_postp\n    output = shn_rest_controller("vts", "vehicle")\n    return output\nmodule = request.controller\ndef index():\n    "Custom View"\n    module_name = \\\n    depolyment_settings.modules[model].name_nice\n        return dict(module_name=module_name)\n    \n\nresponse._vars=response._caller(vehicle)\n'
p6
sS'traceback'
p7
S'Traceback (most recent call last):\n  File "/Users/dongpo/Python/web2py/gluon/restricted.py", line 176, in restricted\n    ccode = compile2(code,layer)\n  File "/Users/dongpo/Python/web2py/gluon/restricted.py", line 163, in compile2\n    return compile(code.rstrip().replace(\'\\r\\n\',\'\\n\')+\'\\n\', layer, \'exec\')\n  File "/Users/dongpo/Python/web2py/applications/Sahana_Eden/controllers/vts.py", line 15\n    return dict(module_name=module_name)\n   ^\nIndentationError: unexpected indent\n'
p8
s.