diff options
author | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-06-26 22:10:08 +0000 |
---|---|---|
committer | wiemann <wiemann@929543f6-e4f2-0310-98a6-ba3bd3dd1d04> | 2005-06-26 22:10:08 +0000 |
commit | a57f1666b2e2bfc04d7742d3bbb9073183ae3e18 (patch) | |
tree | cd5c1f1daad3ed67ea544908fc1caebd0bf98cb3 | |
parent | b67eef0bb358865a6fcf45c76287510172e30641 (diff) | |
download | docutils-blais_interrupt_render.tar.gz |
wrapped lines so that maximum line width is 78 charsblais_interrupt_render
git-svn-id: http://svn.code.sf.net/p/docutils/code/branches/blais_interrupt_render@3580 929543f6-e4f2-0310-98a6-ba3bd3dd1d04
-rw-r--r-- | docutils/docutils/core.py | 3 | ||||
-rw-r--r-- | docutils/docutils/utils.py | 9 |
2 files changed, 7 insertions, 5 deletions
diff --git a/docutils/docutils/core.py b/docutils/docutils/core.py index aecaf8eef..7caa6cca7 100644 --- a/docutils/docutils/core.py +++ b/docutils/docutils/core.py @@ -223,7 +223,8 @@ class Publisher: print >>sys.stderr, pprint.pformat(self.document.__dict__) if self.settings.dump_transforms: print >>sys.stderr, '\n::: Transforms applied:' - print >>sys.stderr, pprint.pformat(self.document.transformer.applied) + print >>sys.stderr, pprint.pformat( + self.document.transformer.applied) if self.settings.dump_pseudo_xml: print >>sys.stderr, '\n::: Pseudo-XML:' print >>sys.stderr, self.document.pformat().encode( diff --git a/docutils/docutils/utils.py b/docutils/docutils/utils.py index 3e8119ac0..cb018bd55 100644 --- a/docutils/docutils/utils.py +++ b/docutils/docutils/utils.py @@ -368,10 +368,11 @@ def new_reporter(source_path, settings): `settings` : optparse.Values object Runtime settings. If none provided, a default set will be used. """ - reporter = Reporter(source_path, settings.report_level, settings.halt_level, - stream=settings.warning_stream, debug=settings.debug, - encoding=settings.error_encoding, - error_handler=settings.error_encoding_error_handler) + reporter = Reporter( + source_path, settings.report_level, settings.halt_level, + stream=settings.warning_stream, debug=settings.debug, + encoding=settings.error_encoding, + error_handler=settings.error_encoding_error_handler) return reporter def new_document(source_path, settings=None): |