URL:
  <http://gna.org/patch/?1072>

                 Summary: Adds __str__ support to wmldata.py for better
debug/visualization
                 Project: Battle for Wesnoth
            Submitted by: None
            Submitted on: Monday 06/09/2008 at 18:45 CEST
                Priority: 3 - Low
                  Status: None
                 Privacy: Public
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Very minor patch which adds support to allow print str(x) where 'x' is a type
defined in wmldata. This makes visualization and debugging of wmldata in
python much easier. You can even print x where x is the root node and the
entire tree will be somewhat nicely formatted.

Not all data types were test. I used the add on manager client for testing.




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Monday 06/09/2008 at 18:45 CEST  Name:
wesnoth-1.5-wmldata.py.greg3.patch  Size: 821B   By: None

<http://gna.org/patch/download.php?file_id=4411>

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1072>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to