summaryrefslogtreecommitdiffstats
path: root/src/lib/Server
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-11-18 13:59:07 -0600
committerSol Jerome <sol.jerome@gmail.com>2011-11-18 13:59:50 -0600
commit1b75eaa1d97b8da0f7bb79a9d331c1ce8accc342 (patch)
tree9908c1b1539e10d80fb60d63e35c5c8f6e6ebb16 /src/lib/Server
parent0e6b81b3d552ab85c809c0a2f9822d82c249f746 (diff)
downloadbcfg2-1b75eaa1d97b8da0f7bb79a9d331c1ce8accc342.tar.gz
bcfg2-1b75eaa1d97b8da0f7bb79a9d331c1ce8accc342.tar.bz2
bcfg2-1b75eaa1d97b8da0f7bb79a9d331c1ce8accc342.zip
Client: Include xincluded files in list
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Server')
-rw-r--r--src/lib/Server/Admin/Client.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Server/Admin/Client.py b/src/lib/Server/Admin/Client.py
index 81fc4a1b1..c746374a2 100644
--- a/src/lib/Server/Admin/Client.py
+++ b/src/lib/Server/Admin/Client.py
@@ -60,6 +60,7 @@ class Client(Bcfg2.Server.Admin.MetadataCore):
raise SystemExit(1)
elif args[0] in ['list', 'ls']:
tree = lxml.etree.parse(self.metadata.data + "/clients.xml")
+ tree.xinclude()
for node in tree.findall("//Client"):
print(node.attrib["name"])
else: