Commit f7dd75f4 authored by Hirokazu Yamamoto's avatar Hirokazu Yamamoto

Issue #3732: Backported r53335 to supress deprecation warning.

Reviewed by Benjamin Peterson.
parent 17f03ca9
......@@ -2,7 +2,7 @@
# Copyright (C) 2005 Martin v. Lwis
# 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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment