~openerp/openobject-server/trunk-speedup-need_action-tde

« back to all changes in this revision

Viewing changes to bin/report/render/simple.py

  • Committer: Harry (Open ERP)
  • Author(s): xrg
  • Date: 2009-11-20 14:31:04 UTC
  • mfrom: (1119.1.208)
  • mto: (1898.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 1900.
  • Revision ID: hmo@tinyerp.com-20091120143104-tb6136unkdw7yfy9
[merge] merge from lp:~xrg/openobject-server/optimize-5.0 and removed some confilts

Show diffs side-by-side

added added

removed removed

Lines of Context:
67
67
 
68
68
if __name__=='__main__':
69
69
    import time
70
 
    s = simple('''<test>
 
70
    s = simple()
 
71
    s.xml = '''<test>
71
72
        <author-list>
72
73
            <author>
73
74
                <name>Fabien Pinckaers</name>
79
80
            </author>
80
81
            No other
81
82
        </author-list>
82
 
    </test>''')
83
 
    print s.render()
 
83
    </test>'''
 
84
    if s.render():
 
85
        print s.get()
84
86
 
85
87
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
86
88