summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2009-03-16 01:31:36 +0000
committerNarayan Desai <desai@mcs.anl.gov>2009-03-16 01:31:36 +0000
commit3794452bc947dd448999d1e6bcb3476497113090 (patch)
tree5abec0b88cbaef99cbb02b5bc425a9db862ce709 /src/lib/Server
parentc15d5b167a65d860803465d57937e6c3e225cd8c (diff)
downloadbcfg2-3794452bc947dd448999d1e6bcb3476497113090.tar.gz
bcfg2-3794452bc947dd448999d1e6bcb3476497113090.tar.bz2
bcfg2-3794452bc947dd448999d1e6bcb3476497113090.zip
Cfg: delta file regex bugfix
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5119 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Plugins/Cfg.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Cfg.py b/src/lib/Server/Plugins/Cfg.py
index d0e36858a..d6da592b0 100644
--- a/src/lib/Server/Plugins/Cfg.py
+++ b/src/lib/Server/Plugins/Cfg.py
@@ -42,7 +42,7 @@ class CfgMatcher:
def __init__(self, fname):
name = re.escape(fname)
self.basefile_reg = re.compile('^(?P<basename>%s)(|\\.H_(?P<hostname>\S+)|.G(?P<prio>\d+)_(?P<group>\S+))$' % name)
- self.delta_reg = re.compile('^(?P<basename>%s)(|\\.H_(?P<hostname>\S+)|\\.G(?P<prio>\d+)_(?P<group>\S+))\\.(?P<delta>(cat|diff))$' % fname)
+ self.delta_reg = re.compile('^(?P<basename>%s)(|\\.H_(?P<hostname>\S+)|\\.G(?P<prio>\d+)_(?P<group>\S+))\\.(?P<delta>(cat|diff))$' % name)
self.cat_count = fname.count(".cat")
self.diff_count = fname.count(".diff")