aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-01-10 01:28:32 +0000
committerGuido van Rossum <guido@python.org>2007-01-10 01:28:32 +0000
commit33552e92fe37194c867921675a2cf25e7432008c (patch)
treeb295ab25918393368d06239f8e3bf7a145931479 /Lib/msilib
parentMerged revisions 53005-53303 via svnmerge from (diff)
downloadcpython-33552e92fe37194c867921675a2cf25e7432008c.tar.gz
cpython-33552e92fe37194c867921675a2cf25e7432008c.tar.bz2
cpython-33552e92fe37194c867921675a2cf25e7432008c.zip
Excise the sets module. SF #1500611 by Collin Winter.
Diffstat (limited to 'Lib/msilib')
-rw-r--r--Lib/msilib/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/msilib/__init__.py b/Lib/msilib/__init__.py
index 07053ba8038..9efef912736 100644
--- a/Lib/msilib/__init__.py
+++ b/Lib/msilib/__init__.py
@@ -2,7 +2,7 @@
# Copyright (C) 2005 Martin v. Löwis
# Licensed to PSF under a Contributor Agreement.
from _msi import *
-import sets, os, string, re
+import os, string, re
Win64=0
@@ -184,7 +184,7 @@ class CAB:
def __init__(self, name):
self.name = name
self.files = []
- self.filenames = sets.Set()
+ self.filenames = set()
self.index = 0
def gen_id(self, file):
@@ -215,7 +215,7 @@ class CAB:
os.unlink(filename)
db.Commit()
-_directories = sets.Set()
+_directories = set()
class Directory:
def __init__(self, db, cab, basedir, physical, _logical, default, componentflags=None):
"""Create a new directory in the Directory table. There is a current component
@@ -239,8 +239,8 @@ class Directory:
self.physical = physical
self.logical = logical
self.component = None
- self.short_names = sets.Set()
- self.ids = sets.Set()
+ self.short_names = set()
+ self.ids = set()
self.keyfiles = {}
self.componentflags = componentflags
if basedir: