~pythonregexp2.7/python/issue2636-09-01+10

« back to all changes in this revision

Viewing changes to Lib/msilib/__init__.py

  • Committer: Jeffrey C. "The TimeHorse" Jacobs
  • Date: 2008-09-22 21:39:45 UTC
  • mfrom: (39055.1.33 Regexp-2.7)
  • Revision ID: darklord@timehorse.com-20080922213945-23717m5eiqpamcyn
Merged in changes from the Single-Loop Engine branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
# Copyright (C) 2005 Martin v. L�wis
3
3
# Licensed to PSF under a Contributor Agreement.
4
4
from _msi import *
5
 
import sets, os, string, re
 
5
import os, string, re
6
6
 
7
7
Win64=0
8
8
 
184
184
    def __init__(self, name):
185
185
        self.name = name
186
186
        self.files = []
187
 
        self.filenames = sets.Set()
 
187
        self.filenames = set()
188
188
        self.index = 0
189
189
 
190
190
    def gen_id(self, file):
215
215
        os.unlink(filename)
216
216
        db.Commit()
217
217
 
218
 
_directories = sets.Set()
 
218
_directories = set()
219
219
class Directory:
220
220
    def __init__(self, db, cab, basedir, physical, _logical, default, componentflags=None):
221
221
        """Create a new directory in the Directory table. There is a current component
239
239
        self.physical = physical
240
240
        self.logical = logical
241
241
        self.component = None
242
 
        self.short_names = sets.Set()
243
 
        self.ids = sets.Set()
 
242
        self.short_names = set()
 
243
        self.ids = set()
244
244
        self.keyfiles = {}
245
245
        self.componentflags = componentflags
246
246
        if basedir: