summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter A. Bigot <pabigot@users.sourceforge.net>2010-05-29 14:57:20 -0500
committerPeter A. Bigot <pabigot@users.sourceforge.net>2010-05-29 14:57:20 -0500
commit922f23248111fb3f31b1d60cf439761aab95e9a5 (patch)
tree7ee383b7ca13c2f9343aa37dbbfb88ea5c8fd4fd
parent4262c87aa242a9f8b8b0213085e9425f11f52075 (diff)
Use sequence, not set, to preserve determinism
-rw-r--r--pyxb/binding/content.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyxb/binding/content.py b/pyxb/binding/content.py
index 27c3ab3..2340f98 100644
--- a/pyxb/binding/content.py
+++ b/pyxb/binding/content.py
@@ -655,7 +655,7 @@ class ChoiceState (ContentState_mixin):
def __init__ (self, group, parent_particle_state):
self.__parentParticleState = parent_particle_state
super(ChoiceState, self).__init__(group)
- self.__choices = set([ ParticleState(_p, self) for _p in group.particles() ])
+ self.__choices = [ ParticleState(_p, self) for _p in group.particles() ]
self.__activeChoice = None
#print 'CS.CTOR %s: %d choices' % (self, len(self.__choices))