We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acc040d commit 474f4adCopy full SHA for 474f4ad
1 file changed
odml/tools/dict_parser.py
@@ -2,6 +2,7 @@
2
The dict_parser module provides access to the DictWriter and DictReader class.
3
Both handle the conversion of odML documents from and to Python dictionary objects.
4
"""
5
+import sys
6
7
from .. import format as odmlfmt
8
from ..info import FORMAT_VERSION
@@ -233,7 +234,7 @@ def warn(self, msg):
233
234
self.warnings.append(msg)
235
236
if self.show_warnings:
- print(msg)
237
+ sys.stderr.write("Parser%s\n" % msg)
238
239
def to_odml(self, parsed_doc):
240
0 commit comments