diff options
author | Tim Peters <tim.peters@gmail.com> | 2004-08-22 19:42:56 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2004-08-22 19:42:56 (GMT) |
commit | 94607dd5ce69f1226b359b0b92ba93e0899c4d62 (patch) | |
tree | c3fb6aaf4539abf0bbd13650228c27f27ba2f254 | |
parent | 75dc5e14eaea0fad7445920511f371751fe1bfd1 (diff) | |
download | cpython-94607dd5ce69f1226b359b0b92ba93e0899c4d62.zip cpython-94607dd5ce69f1226b359b0b92ba93e0899c4d62.tar.gz cpython-94607dd5ce69f1226b359b0b92ba93e0899c4d62.tar.bz2 |
Whitespace normalization.
-rw-r--r-- | Tools/msi/msilib.py | 8 | ||||
-rw-r--r-- | Tools/msi/schema.py | 1 |
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.',), ] - |