~dongpo-deng/sahana-eden/test

« back to all changes in this revision

Viewing changes to errors/127.0.0.1.2010-07-31.16-30-06.8d6591eb-7eb6-4118-a879-0d7e42e24a6c

  • Committer: Deng Dongpo
  • Date: 2010-08-01 09:29:44 UTC
  • Revision ID: dongpo@dhcp-21193.iis.sinica.edu.tw-20100801092944-8t9obt4xtl7otesb
initial

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
(dp1
 
2
S'output'
 
3
p2
 
4
S''
 
5
sS'layer'
 
6
p3
 
7
S'/Users/dongpo/Python/web2py/applications/Sahana_Eden/controllers/vts.py'
 
8
p4
 
9
sS'code'
 
10
p5
 
11
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'
 
12
p6
 
13
sS'traceback'
 
14
p7
 
15
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'
 
16
p8
 
17
s.
 
 
b'\\ No newline at end of file'