diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-01-31 17:23:22 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-01-31 17:23:22 +0000 |
commit | 109f3fa32e35b4fcf52ee63845d84571690e040f (patch) | |
tree | 7e97c5348f7287d4e24718662f9bdd0d09a44ebd /src | |
parent | 1d890ad3cc26ba5c88efbe423eafceb638a26a50 (diff) | |
download | bcfg2-109f3fa32e35b4fcf52ee63845d84571690e040f.tar.gz bcfg2-109f3fa32e35b4fcf52ee63845d84571690e040f.tar.bz2 bcfg2-109f3fa32e35b4fcf52ee63845d84571690e040f.zip |
Maybe fix file diffing + xml encoding
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2738 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Client/Tools/POSIX.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/POSIX.py b/src/lib/Client/Tools/POSIX.py index 4c0cbc8ff..2b10d7cd3 100644 --- a/src/lib/Client/Tools/POSIX.py +++ b/src/lib/Client/Tools/POSIX.py @@ -201,7 +201,7 @@ class POSIX(Bcfg2.Client.Tools.Tool): if not contentStatus: diff = '\n'.join([x for x in difflib.ndiff(content.split('\n'), tempdata.split('\n'))]) try: - entry.set("current_diff", xml.sax.saxutils.quoteattr(diff)) + entry.set("current_diff", xml.sax.saxutils.escape(diff)) except: pass udiff = '\n'.join([x for x in difflib.unified_diff(content.split('\n'), \ |