Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f7dd75f4
Kaydet (Commit)
f7dd75f4
authored
Eyl 01, 2008
tarafından
Hirokazu Yamamoto
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #3732: Backported r53335 to supress deprecation warning.
Reviewed by Benjamin Peterson.
üst
17f03ca9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
__init__.py
Lib/msilib/__init__.py
+5
-5
No files found.
Lib/msilib/__init__.py
Dosyayı görüntüle @
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