From a349ccd5a819226cf70618fb170785e001d42cff Mon Sep 17 00:00:00 2001 From: Kenneth Anthony Giusti Date: Wed, 22 Sep 2010 12:48:00 +0000 Subject: clarify a comment git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@999916 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/managementgen/qmfgen/schema.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qpid/cpp/managementgen') diff --git a/qpid/cpp/managementgen/qmfgen/schema.py b/qpid/cpp/managementgen/qmfgen/schema.py index ec0ccc3462..f01d5ee9b2 100755 --- a/qpid/cpp/managementgen/qmfgen/schema.py +++ b/qpid/cpp/managementgen/qmfgen/schema.py @@ -1315,7 +1315,9 @@ class SchemaClass: def genPrimaryKey (self, stream, variables): first = 1 for prop in self.properties: - if prop.getName() != "vhostRef": # Limit how deep the v2Key strings get + # deliberately leave out the "vhostRef" fields since there's only one vhost, + # this serves to shorten the keys without compromising uniqueness + if prop.getName() != "vhostRef": if prop.isIndex == 1: if first: first = None -- cgit v1.2.1