diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2004-11-30 23:02:50 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2004-11-30 23:02:50 +0000 |
commit | 8e6e0c16876009b7da218469bdc1a15caf9bd16e (patch) | |
tree | db4c3d07d90da873b24764a0f7e32aafd3a7d516 /src | |
parent | eddb9900f0f6804e0d52c32b0a8cab2bc67096b4 (diff) | |
download | bcfg2-8e6e0c16876009b7da218469bdc1a15caf9bd16e.tar.gz bcfg2-8e6e0c16876009b7da218469bdc1a15caf9bd16e.tar.bz2 bcfg2-8e6e0c16876009b7da218469bdc1a15caf9bd16e.zip |
switch to \S to catch all categories
2004/11/30 14:53:33-06:00 anl.gov!desai
fixup regex from ccsched
(Logical change 1.154)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@685 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Generators/Cfg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Generators/Cfg.py b/src/lib/Server/Generators/Cfg.py index 066ce99f5..41be594c5 100644 --- a/src/lib/Server/Generators/Cfg.py +++ b/src/lib/Server/Generators/Cfg.py @@ -41,7 +41,7 @@ class FileEntry(FileBacked): class ConfigFileEntry(object): '''ConfigFileEntry is a repository entry for a single file, containing all data for all clients.''' - specific = regcompile('(.*/)(?P<filename>[\w.]+)\.((H_(?P<hostname>\w+))|(B(?P<bprio>\d+)_(?P<bundle>\w+))|(A(?P<aprio>\d+)_(?P<attr>\w+))|(I(?P<iprio>\d+)_(?P<image>\w+))|(C(?P<cprio>\d+)_(?P<class>\w+)))(\.(?P<op>cat|udiff))?') + specific = regcompile('(.*/)(?P<filename>[\w.]+)\.((H_(?P<hostname>\S+))|(B(?P<bprio>\d+)_(?P<bundle>\S+))|(A(?P<aprio>\d+)_(?P<attr>\S+))|(I(?P<iprio>\d+)_(?P<image>\S+))|(C(?P<cprio>\d+)_(?P<class>\S+)))(\.(?P<op>cat|udiff))?$') info = regcompile('^owner:(\s)*(?P<owner>\w+)|group:(\s)*(?P<group>\w+)|perms:(\s)*(?P<perms>\w+)|encoding:(\s)*(?P<encoding>\w+)|(?P<paranoid>paranoid(\s)*)$') def __init__(self, path): |