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
001afc45
Commit
001afc45
authored
Aug 22, 2004
by
Tim Peters
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Whitespace normalization.
parent
09e1928d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Tools/msi/msilib.py
Tools/msi/msilib.py
+4
-4
Tools/msi/schema.py
Tools/msi/schema.py
+0
-1
No files found.
Tools/msi/msilib.py
View file @
001afc45
...
@@ -188,7 +188,7 @@ def gen_schema(destpath, schemapath):
...
@@ -188,7 +188,7 @@ def gen_schema(destpath, schemapath):
f
.
write
(
"),
\
n
"
)
f
.
write
(
"),
\
n
"
)
f
.
write
(
"]
\
n
\
n
"
)
f
.
write
(
"]
\
n
\
n
"
)
f
.
close
()
f
.
close
()
def
gen_sequence
(
destpath
,
msipath
):
def
gen_sequence
(
destpath
,
msipath
):
dir
=
os
.
path
.
dirname
(
destpath
)
dir
=
os
.
path
.
dirname
(
destpath
)
...
@@ -525,7 +525,7 @@ class Directory:
...
@@ -525,7 +525,7 @@ class Directory:
# constants.msidbFileAttributesVital
# constants.msidbFileAttributesVital
# Compressed omitted, since it is the database default
# Compressed omitted, since it is the database default
# could add r/o, system, hidden
# could add r/o, system, hidden
attributes
=
512
attributes
=
512
add_data
(
self
.
db
,
"File"
,
add_data
(
self
.
db
,
"File"
,
[(
logical
,
self
.
component
,
full
,
filesize
,
version
,
[(
logical
,
self
.
component
,
full
,
filesize
,
version
,
language
,
attributes
,
sequence
)])
language
,
attributes
,
sequence
)])
...
@@ -624,7 +624,7 @@ class Dialog:
...
@@ -624,7 +624,7 @@ class Dialog:
def
bitmap
(
self
,
name
,
x
,
y
,
w
,
h
,
text
):
def
bitmap
(
self
,
name
,
x
,
y
,
w
,
h
,
text
):
return
self
.
control
(
name
,
"Bitmap"
,
x
,
y
,
w
,
h
,
1
,
None
,
text
,
None
,
None
)
return
self
.
control
(
name
,
"Bitmap"
,
x
,
y
,
w
,
h
,
1
,
None
,
text
,
None
,
None
)
def
line
(
self
,
name
,
x
,
y
,
w
,
h
):
def
line
(
self
,
name
,
x
,
y
,
w
,
h
):
return
self
.
control
(
name
,
"Line"
,
x
,
y
,
w
,
h
,
1
,
None
,
None
,
None
,
None
)
return
self
.
control
(
name
,
"Line"
,
x
,
y
,
w
,
h
,
1
,
None
,
None
,
None
,
None
)
...
@@ -638,4 +638,4 @@ class Dialog:
...
@@ -638,4 +638,4 @@ class Dialog:
return
RadioButtonGroup
(
self
,
name
,
prop
)
return
RadioButtonGroup
(
self
,
name
,
prop
)
def
checkbox
(
self
,
name
,
x
,
y
,
w
,
h
,
attr
,
prop
,
text
,
next
):
def
checkbox
(
self
,
name
,
x
,
y
,
w
,
h
,
attr
,
prop
,
text
,
next
):
return
self
.
control
(
name
,
"CheckBox"
,
x
,
y
,
w
,
h
,
attr
,
prop
,
text
,
next
,
None
)
return
self
.
control
(
name
,
"CheckBox"
,
x
,
y
,
w
,
h
,
attr
,
prop
,
text
,
next
,
None
)
\ No newline at end of file
Tools/msi/schema.py
View file @
001afc45
...
@@ -1005,4 +1005,3 @@ _Validation_records = [
...
@@ -1005,4 +1005,3 @@ _Validation_records = [
(
u'Verb'
,
u'Verb'
,
u'N'
,
None
,
None
,
None
,
None
,
u'Text'
,
None
,
u'The verb for the command.'
,),
(
u'Verb'
,
u'Verb'
,
u'N'
,
None
,
None
,
None
,
None
,
u'Text'
,
None
,
u'The verb for the command.'
,),
(
u'Verb'
,
u'Command'
,
u'Y'
,
None
,
None
,
None
,
None
,
u'Formatted'
,
None
,
u'The command text.'
,),
(
u'Verb'
,
u'Command'
,
u'Y'
,
None
,
None
,
None
,
None
,
u'Formatted'
,
None
,
u'The command text.'
,),
]
]
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