diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2008-06-24 19:13:48 +0000 |
---|---|---|
committer | Narayan Desai <desai@mcs.anl.gov> | 2008-06-24 19:13:48 +0000 |
commit | b4e1d254729d7106e152737d87610900728c6d96 (patch) | |
tree | 7e32d1ae742f9ba7a4f35ecd445e832c6c640667 /src/lib | |
parent | c746bdc6f47d023ff13fae99f218aac0cd54003e (diff) | |
download | bcfg2-b4e1d254729d7106e152737d87610900728c6d96.tar.gz bcfg2-b4e1d254729d7106e152737d87610900728c6d96.tar.bz2 bcfg2-b4e1d254729d7106e152737d87610900728c6d96.zip |
Fix client assertion with XIncludes are in use (Resolves Ticket #568)
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4712 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/Server/Plugins/Metadata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Server/Plugins/Metadata.py b/src/lib/Server/Plugins/Metadata.py index faa92ef50..9f8b641cc 100644 --- a/src/lib/Server/Plugins/Metadata.py +++ b/src/lib/Server/Plugins/Metadata.py @@ -248,7 +248,7 @@ class Metadata(Bcfg2.Server.Plugin.MetadataPlugin, raise MetadataConsistencyError if self.clients.has_key(client): self.logger.info("Changing %s group from %s to %s" % (client, self.clients[client], profile)) - cli = self.clientdata.xpath('/Clients/Client[@name="%s"]' % (client)) + cli = self.clientdata.xpath('.//Clients/Client[@name="%s"]' % (client)) cli[0].set('profile', profile) else: if self.session_cache.has_key(addresspair): |