diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2005-05-13 19:47:26 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2005-05-13 19:47:26 +0000 |
commit | 2c2f88eaf4f765f5a949776bb1a9e51d5c943e8c (patch) | |
tree | 7543052ada49184aa5d34e8461696e316b2f9e0c /src/lib/Server/Generators | |
parent | 9a5535c03486a8becb7112878233c6c6c271ba9d (diff) | |
download | bcfg2-2c2f88eaf4f765f5a949776bb1a9e51d5c943e8c.tar.gz bcfg2-2c2f88eaf4f765f5a949776bb1a9e51d5c943e8c.tar.bz2 bcfg2-2c2f88eaf4f765f5a949776bb1a9e51d5c943e8c.zip |
add sort to global file addition.
fixes _long_ standing bug
(Logical change 1.227)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@950 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Server/Generators')
-rw-r--r-- | src/lib/Server/Generators/Cfg.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Generators/Cfg.py b/src/lib/Server/Generators/Cfg.py index b80408e58..9e17cc7d9 100644 --- a/src/lib/Server/Generators/Cfg.py +++ b/src/lib/Server/Generators/Cfg.py @@ -91,6 +91,7 @@ class ConfigFileEntry(object): if name.split('/')[-1] == self.path.split('/')[-1]: self.basefiles.append(FileEntry(name, True, None, [], [], [], None)) + self.basefiles.sort() return specmatch = self.specific.match(name) |