summaryrefslogtreecommitdiffstats
path: root/nova/context.py
diff options
context:
space:
mode:
authorJustin Santa Barbara <justin@fathomdb.com>2012-03-19 16:33:16 -0700
committerJustin Santa Barbara <justin@fathomdb.com>2012-03-19 16:33:16 -0700
commit13ca1b923e479905f9d1debdea6125be92f44808 (patch)
tree6bcd2414ac695aa5dce3603e0ef12a0e7216f0cd /nova/context.py
parentcb0a25e825a9a09f39aa496a66ad4171ff659af8 (diff)
downloadnova-13ca1b923e479905f9d1debdea6125be92f44808.tar.gz
nova-13ca1b923e479905f9d1debdea6125be92f44808.tar.xz
nova-13ca1b923e479905f9d1debdea6125be92f44808.zip
Strip out characters that should be escaped from console output
Minidom has a bug where it doesn't escape characters < 32 correctly. That is http://bugs.python.org/issue5752 We probably want to move to lxml anyway. Console-output is particularly likely to have invalid characters, because ANSI output include the ESC character (0x1B). Strip out invalid characters for this case (although the problem is still present anywhere we write a string in the XML) Bug #939386 Change-Id: I4689c0f26fb4887867a8d5b6f5e5fb5e2590be91
Diffstat (limited to 'nova/context.py')
0 files changed, 0 insertions, 0 deletions