render/simple.py: Restore command-line mode.

bzr revid: p_christ@hol.gr-20081124151831-r2hck7h2zs714jgg
This commit is contained in:
P. Christeas
2008-11-24 17:18:31 +02:00
parent 7f3ee0107e
commit 1b69658f88
+5 -3
View File
@@ -68,7 +68,8 @@ class simple(render.render):
if __name__=='__main__':
import time
s = simple('''<test>
s = simple()
s.xml = '''<test>
<author-list>
<author>
<name>Fabien Pinckaers</name>
@@ -80,8 +81,9 @@ if __name__=='__main__':
</author>
No other
</author-list>
</test>''')
print s.render()
</test>'''
if s.render():
print s.get()
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: