From 84dfc8ea1451e679f4cefccd990024a1a10fbf72 Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Mon, 11 Dec 2006 03:48:22 +0000 Subject: Fix failures for servers with no active structures (Resolves Ticket #324) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@2580 ce84e21b-d406-0410-9b95-82705330c041 --- src/lib/Server/Core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/Server/Core.py') diff --git a/src/lib/Server/Core.py b/src/lib/Server/Core.py index 4c619b7a9..d6d17a708 100644 --- a/src/lib/Server/Core.py +++ b/src/lib/Server/Core.py @@ -257,7 +257,7 @@ class Core(object): def GetStructures(self, metadata): '''Get all structures for client specified by metadata''' return reduce(lambda x, y:x+y, - [struct.BuildStructures(metadata) for struct in self.structures]) + [struct.BuildStructures(metadata) for struct in self.structures], []) def BindStructure(self, structure, metadata): '''Bind a complete structure''' -- cgit v1.2.3-1-g7c22