Commits

Gary Oberbrunner committed ca2a603 Merge

Merged issue2812 branch from Dirk Baechle

Comments (0)

Files changed (1)

 
     if data.startswith('<?xml '):
         first_line, data = data.split('\n', 1)
-        sys.stdout.write(first_line + '\n')
+        fout.write(first_line + '\n')
 
     x = MySGML(fout)
     for c in data: