diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2006-10-15 03:32:47 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2006-10-15 03:32:47 +0000 |
commit | 3fec8ec4bd7c60b10685a2a911fd4a84c546b896 (patch) | |
tree | 02cdf3874bde235728f2a6da690e1bc2b4234a59 /src/lib/Client/Tools/POSIX.py | |
parent | c3d40a1bbcd6a5329998199eda10e406d19453c8 (diff) | |
download | bcfg2-3fec8ec4bd7c60b10685a2a911fd4a84c546b896.tar.gz bcfg2-3fec8ec4bd7c60b10685a2a911fd4a84c546b896.tar.bz2 bcfg2-3fec8ec4bd7c60b10685a2a911fd4a84c546b896.zip |
* Automatically load the encap tool
* Use ndiff instead of unified diffs in POSIX
* Add pull support to bcfg2-admin. This allows users to decide that a client is correct, and fix it entirely from the server side.
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2435 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/POSIX.py')
-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 47ccb8e56..c6e76652e 100644 --- a/src/lib/Client/Tools/POSIX.py +++ b/src/lib/Client/Tools/POSIX.py @@ -191,7 +191,7 @@ class POSIX(Bcfg2.Client.Tools.Tool): return False contentStatus = content == tempdata if not contentStatus: - diff = '\n'.join([x for x in difflib.unified_diff(content.split('\n'), tempdata.split('\n'))]) + 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)) except: |