diff options
| author | Ken Giusti <kgiusti@apache.org> | 2010-09-22 12:48:00 +0000 |
|---|---|---|
| committer | Ken Giusti <kgiusti@apache.org> | 2010-09-22 12:48:00 +0000 |
| commit | 0838db3254710f7f2d1190fa5b1fc90f33525a05 (patch) | |
| tree | 671b99a00a17eedfe74e85a73d7eb205fd074c6b /cpp/managementgen | |
| parent | 2e6ac392678a5b5eeb1af463f5cf5b84935e6d7f (diff) | |
| download | qpid-python-0838db3254710f7f2d1190fa5b1fc90f33525a05.tar.gz | |
clarify a comment
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@999916 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/managementgen')
| -rwxr-xr-x | cpp/managementgen/qmfgen/schema.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/managementgen/qmfgen/schema.py b/cpp/managementgen/qmfgen/schema.py index ec0ccc3462..f01d5ee9b2 100755 --- a/cpp/managementgen/qmfgen/schema.py +++ b/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 |
