Switch to sets module instead of using builtin set type to support Python 2.3 on mobile. Bustage fix.

This commit is contained in:
Peter Van der Beken 2008-12-16 17:20:38 +01:00
parent bb59f8fa78
commit 0eeeec31c5

View File

@ -1005,7 +1005,7 @@ def writeStubFile(filename, headerFilename, conf, interfaces):
for iface in interfaces:
resulttypes.extend(writeIncludesForInterface(iface))
f.write("\n\n")
writeResultXPCInterfacesArray(f, conf, frozenset(resulttypes))
writeResultXPCInterfacesArray(f, conf, sets.ImmutableSet(resulttypes))
for iface in interfaces:
writeStubsForInterface(f, iface)
writeDefiner(f, conf, interfaces)