summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Tools/msi/msilib.py8
-rw-r--r--Tools/msi/schema.py1
2 files changed, 4 insertions, 5 deletions
diff --git a/Tools/msi/msilib.py b/Tools/msi/msilib.py
index a6780e2..4595246 100644
--- a/Tools/msi/msilib.py
+++ b/Tools/msi/msilib.py
@@ -188,7 +188,7 @@ def gen_schema(destpath, schemapath):
f.write("),\n")
f.write("]\n\n")
- f.close()
+ f.close()
def gen_sequence(destpath, msipath):
dir = os.path.dirname(destpath)
@@ -525,7 +525,7 @@ class Directory:
# constants.msidbFileAttributesVital
# Compressed omitted, since it is the database default
# could add r/o, system, hidden
- attributes = 512
+ attributes = 512
add_data(self.db, "File",
[(logical, self.component, full, filesize, version,
language, attributes, sequence)])
@@ -624,7 +624,7 @@ class Dialog:
def bitmap(self, name, x, y, w, h, text):
return self.control(name, "Bitmap", x, y, w, h, 1, None, text, None, None)
-
+
def line(self, name, x, y, w, h):
return self.control(name, "Line", x, y, w, h, 1, None, None, None, None)
@@ -638,4 +638,4 @@ class Dialog:
return RadioButtonGroup(self, name, prop)
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) \ No newline at end of file
+ return self.control(name, "CheckBox", x, y, w, h, attr, prop, text, next, None)
diff --git a/Tools/msi/schema.py b/Tools/msi/schema.py
index 16e4a6e..7a3e797 100644
--- a/Tools/msi/schema.py
+++ b/Tools/msi/schema.py
@@ -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'Command',u'Y',None, None, None, None, u'Formatted',None, u'The command text.',),
]
-