Message 68501 - Python tracker (original) (raw)
Message68501
Author | complex |
---|---|
Recipients | complex |
Date | 2008-06-21.15:38:05 |
SpamBayes Score | 0.007580987 |
Marked as misclassified | No |
Message-id | 1214062687.51.0.950571411825.issue3160@psf.upfronthosting.co.za |
In-reply-to |
Content |
---|
Fixed by appending the b (bytes) prefix to three string literals concatenated to cfgdata in C:\python30\lib\distutils\command\bdist_wininst.py: Line #262: # Append the pre-install script cfgdata = cfgdata + b"\0" if self.pre_install_script: script_data = open(self.pre_install_script, "r").read() cfgdata = cfgdata + script_data + b"\n\0" else: # empty pre-install script cfgdata = cfgdata + b"\0" file.write(cfgdata) Sorry for the source code fragment. I'll try to submit a patch instead next time. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2008-06-21 15:38:08 | complex | set | spambayes_score: 0.00758099 -> 0.007580987recipients: + complex |
2008-06-21 15:38:07 | complex | set | spambayes_score: 0.00758099 -> 0.00758099messageid: 1214062687.51.0.950571411825.issue3160@psf.upfronthosting.co.za |
2008-06-21 15:38:06 | complex | link | issue3160 messages |
2008-06-21 15:38:06 | complex | create |