| CARVIEW |
Select Language
HTTP/2 200
server: nginx
date: Sun, 28 Dec 2025 13:15:30 GMT
content-type: text/plain
last-modified: Fri, 01 Oct 2010 21:45:49 -0000
etag: W/"448b9-3c6-4b50d569"
x-frame-options: sameorigin
x-xss-protection: 1; mode=block
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
content-encoding: gzip
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=315360000; includeSubDomains; preload
Index: Lib/msilib/__init__.py
===================================================================
--- Lib/msilib/__init__.py (revision 77511)
+++ Lib/msilib/__init__.py (working copy)
@@ -288,16 +288,17 @@
parts = file.split(".")
if len(parts)>1:
suffix = parts[-1].upper()
+ prefix = "".join(parts[:-1]).upper()
else:
suffix = None
- prefix = parts[0].upper()
- if len(prefix) <= 8 and (not suffix or len(suffix)<=3):
+ prefix = file.upper()
+ file = None
+ if len(parts)<3 and len(prefix)<=8 and (not suffix or len(suffix)<=3):
if suffix:
file = prefix+"."+suffix
else:
file = prefix
- assert file not in self.short_names
- else:
+ if file is None or file in self.short_names:
prefix = prefix[:6]
if suffix:
suffix = suffix[:3]