summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsebd <>2005-05-20 15:10:15 (GMT)
committersebd <>2005-05-20 15:10:15 (GMT)
commit9da229d5b7da34cf1e4b2ddbd5b84c42bacfc6bb (patch)
treeeb3e52c5a75b5246d20d098265e931c08b92abeb
parent3823e65134a97a6d41d1fca477700cfabcff93aa (diff)
downloadexpression-9da229d5b7da34cf1e4b2ddbd5b84c42bacfc6bb.zip
expression-9da229d5b7da34cf1e4b2ddbd5b84c42bacfc6bb.tar.gz
expression-9da229d5b7da34cf1e4b2ddbd5b84c42bacfc6bb.tar.bz2
Support for several index types per node.
-rw-r--r--src/modules/dbxmldatabases.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/modules/dbxmldatabases.py b/src/modules/dbxmldatabases.py
index 52aa4f0..61e1f2a 100644
--- a/src/modules/dbxmldatabases.py
+++ b/src/modules/dbxmldatabases.py
@@ -255,8 +255,9 @@ def __init__():
containerName,
)
):
- uri, name, index = node.prop("uri"), node.prop("name"), node.prop("index")
- indexSpecification.addIndex(uri, name, index)
+ uri, name, indexes = node.prop("uri"), node.prop("name"), node.content.split(" ")
+ for index in indexes:
+ indexSpecification.addIndex(uri, name, index)
container.setIndexSpecification(indexSpecification, updateContext)
DbXmlDatabase._containers[containerName] = container