summaryrefslogtreecommitdiffstats
path: root/src/lib/__init__.py
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-03-06 12:04:33 -0600
committerSol Jerome <sol.jerome@gmail.com>2011-03-06 12:04:33 -0600
commit1d17b980a15a2fd138ad746d51e148befa26faa0 (patch)
tree3fe15a14f1be49fe4aef8ebc9b6b38f49461c214 /src/lib/__init__.py
parentf26780538a46beac2655230a93bd2134af7fc5bc (diff)
downloadbcfg2-1d17b980a15a2fd138ad746d51e148befa26faa0.tar.gz
bcfg2-1d17b980a15a2fd138ad746d51e148befa26faa0.tar.bz2
bcfg2-1d17b980a15a2fd138ad746d51e148befa26faa0.zip
Better handling of backup files in paranoid mode (Patch from mkd ticket #995)
1. Client removes only one excess backup copy at every configfile change, even if there are more backup copies eligible for deletion. Moreover, lowering the max_copies parameter could cause client to never remove any excess files from there. 2. Space character in backup file names is mildly annoying - datetime.isoformat() will put a 'T' there instead. 3. More robust handling of 'paranoid' attribute values from info.xml (paranoid='True' should also be allowed - currently only paranoid='true' works as expected). A simple patch (attached) addresses all these issues. /mkd Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/__init__.py')
0 files changed, 0 insertions, 0 deletions