Commit 7639382e by Panu Matilainen

Shut up a future warning from python 3 on string boolean test

parent 2be55071
...@@ -290,7 +290,7 @@ class myHandler(http.server.SimpleHTTPRequestHandler): ...@@ -290,7 +290,7 @@ class myHandler(http.server.SimpleHTTPRequestHandler):
self.do_codep(r) self.do_codep(r)
z = E.A(E.CLASS('menutxt'), '%s' % (codename(r)), z = E.A(E.CLASS('menutxt'), '%s' % (codename(r)),
href=self.do_href('elemid=%s' % (r['ID']))) href=self.do_href('elemid=%s' % (r['ID'])))
if path: if len(path) > 0:
path.insert(0, E.A(' > ')) path.insert(0, E.A(' > '))
path.insert(0, z) path.insert(0, z)
eid = r['PARENT_ID'] eid = r['PARENT_ID']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment