py3 fixes for admin app

This commit is contained in:
ilvalle
2016-06-25 17:36:37 +02:00
parent d429554c5b
commit f343fab528
5 changed files with 10 additions and 9 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
import os
import sys
import gluon.contrib.shell
#import gluon.contrib.shell
import gluon.dal
import gluon.html
import gluon.validators
import code
import thread
from gluon.debug import communicate, web_debugger, qdb_debugger
from gluon._compat import thread
import pydoc
@@ -25,11 +25,11 @@
<p class="formfield">
{{if functions:}}
<span style="text-align:left;" class="exposed">
{{=B(T('exposes:'))}} {{=XML(', '.join([A(f,_target="_blank", _href=URL(a=app,c=controller,f=f)).xml() for f in functions]))}}
{{=B(T('exposes:'))}} {{=XML(b', '.join([A(f,_target="_blank", _href=URL(a=app,c=controller,f=f)).xml() for f in functions]))}}
</span>
{{if editviewlinks:}}<br/>
{{=B(T('edit views:'))}}
{{=XML(', '.join([v.xml() for v in editviewlinks]))}}
{{=XML(b', '.join([v.xml() for v in editviewlinks]))}}
{{pass}}
{{pass}}
{{if edit_controller:}}