Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f7dd75f4
Commit
f7dd75f4
authored
Sep 01, 2008
by
Hirokazu Yamamoto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #3732: Backported r53335 to supress deprecation warning.
Reviewed by Benjamin Peterson.
parent
17f03ca9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Lib/msilib/__init__.py
Lib/msilib/__init__.py
+5
-5
No files found.
Lib/msilib/__init__.py
View file @
f7dd75f4
...
...
@@ -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
=
set
s
.
Set
()
self
.
filenames
=
set
()
self
.
index
=
0
def
gen_id
(
self
,
file
):
...
...
@@ -215,7 +215,7 @@ class CAB:
os
.
unlink
(
filename
)
db
.
Commit
()
_directories
=
set
s
.
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
=
set
s
.
Set
()
self
.
ids
=
set
s
.
Set
()
self
.
short_names
=
set
()
self
.
ids
=
set
()
self
.
keyfiles
=
{}
self
.
componentflags
=
componentflags
if
basedir
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment