summaryrefslogtreecommitdiff
path: root/Lib/msilib
diff options
context:
space:
mode:
authorHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2008-09-01 14:24:04 +0000
committerHirokazu Yamamoto <ocean-city@m2.ccsnet.ne.jp>2008-09-01 14:24:04 +0000
commitdb66a36732e3aef06a13a6d197babe938d31c0e7 (patch)
tree01721103390f531ff5faed65fdee8231b70ea967 /Lib/msilib
parent1e1d0483453589c32c10376cb95dad53c749a875 (diff)
downloadcpython-db66a36732e3aef06a13a6d197babe938d31c0e7.tar.gz
Issue #3732: Backported r53335 to supress deprecation warning.
Reviewed by Benjamin Peterson.
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 4be82b033d..b13d0306f1 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: