diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2004-08-31 14:48:59 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2004-08-31 14:48:59 +0000 |
commit | 1a63b8c1190e0962b9440336686bb6a9ec0fda26 (patch) | |
tree | ac114957a8bfeeffd74c29d506f159ad43e22517 /src/lib | |
parent | 60ac510a2b6e2f11fb048384526e5c59266e6bb8 (diff) | |
download | bcfg2-1a63b8c1190e0962b9440336686bb6a9ec0fda26.tar.gz bcfg2-1a63b8c1190e0962b9440336686bb6a9ec0fda26.tar.bz2 bcfg2-1a63b8c1190e0962b9440336686bb6a9ec0fda26.zip |
fix syntax errors
(Logical change 1.46)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@278 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Generators/servicemgr.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Generators/servicemgr.py b/src/lib/Server/Generators/servicemgr.py index d2c2a937f..0fb7ec3e6 100644 --- a/src/lib/Server/Generators/servicemgr.py +++ b/src/lib/Server/Generators/servicemgr.py @@ -39,8 +39,8 @@ class ServiceList(SingleXMLFileBacked): def Sort(self, m1, m2): d = {('Global','Host'):-1,('Global','Image'):-1,("Global",'Class'):-1, - ('Image', 'Global'):1, ('Image', 'Image'):0, ('Image', 'Host'):1, ('Image':'Class'):-1, - ('Class','Global'):1, ('Class', 'Image'):1, ('Class','Class'):0, ('Class', 'Host'), -1, + ('Image', 'Global'):1, ('Image', 'Image'):0, ('Image', 'Host'):1, ('Image', 'Class'):-1, + ('Class','Global'):1, ('Class', 'Image'):1, ('Class','Class'):0, ('Class', 'Host'): -1, ('Host', 'Global'):1, ('Host', 'Image'):1, ('Host','Class'):1, ('Host','Host'):0} if d.has_key((m1[0][0], m2[0][0])): return d[(m1[0][0],m2[0][0])] |