X-Git-Url: https://git.yukkurigames.com/?p=python-bulletml.git;a=blobdiff_plain;f=bulletml-to-bulletyaml;fp=bulletml-to-bulletyaml;h=ebe0e75c8ad0e12d2fa18ed451b316a5998ae8d5;hp=c5f8c561e288284edd09ee3e8998eb7e40e32cff;hb=70d25195d561d8b5d3126c6bbac0ecad2a502f06;hpb=29b24c8fc17a3bdcccd1ac853eee5b90c6fd0856 diff --git a/bulletml-to-bulletyaml b/bulletml-to-bulletyaml index c5f8c56..ebe0e75 100755 --- a/bulletml-to-bulletyaml +++ b/bulletml-to-bulletyaml @@ -7,7 +7,8 @@ from bulletml import BulletML, bulletyaml def main(argv): for filename in argv: - print yaml.dump(BulletML.FromDocument(open(filename, "rU"))) + print "# Loading", filename + print yaml.dump(yaml.load(yaml.dump(BulletML.FromDocument(open(filename, "rU"))))) if __name__ == "__main__": main(sys.argv[1:])