diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2007-06-14 20:14:50 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2007-06-14 20:14:50 +0000 |
commit | f5f4a4081d4eda0b839fb36d8fff8fbb9c8cfc89 (patch) | |
tree | 2341ccbb48a4e14aae08aabf10be6fef6134d2df /src | |
parent | 7bb7e9b030ca81896f874fbadeed28226b38fea3 (diff) | |
download | bcfg2-f5f4a4081d4eda0b839fb36d8fff8fbb9c8cfc89.tar.gz bcfg2-f5f4a4081d4eda0b839fb36d8fff8fbb9c8cfc89.tar.bz2 bcfg2-f5f4a4081d4eda0b839fb36d8fff8fbb9c8cfc89.zip |
Better canonicalization fix
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3306 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index 72bca7a73..ed1cfaf00 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -262,9 +262,10 @@ class Metadata(Bcfg2.Server.Plugin.Plugin): def get_metadata(self, client): '''Return the metadata for a given client''' + client = client.lower() if self.aliases.has_key(client): client = self.aliases[client] - if self.clients.has_key(client.lower()): + if self.clients.has_key(client): (bundles, groups, categories) = self.groups[self.clients[client]] else: if self.default == None: |