Message233324
> if (not version.GetFileVersionInfoW(name, None, size, ver_block) or
> not ver_block):
Arrays don't implement __bool__ and have fixed __len__, so ver_block is always True. You could look at ver_block[0] or ver_block.value (i.e. the C string value). |
|
Date |
User |
Action |
Args |
2015-01-02 19:49:43 | eryksun | set | recipients:
+ eryksun, lemburg, tim.peters, loewis, pitrou, giampaolo.rodola, tim.golden, jkloth, brian.curtin, zach.ware, serhiy.storchaka, steve.dower |
2015-01-02 19:49:43 | eryksun | set | messageid: <1420228183.72.0.539142789996.issue19143@psf.upfronthosting.co.za> |
2015-01-02 19:49:43 | eryksun | link | issue19143 messages |
2015-01-02 19:49:43 | eryksun | create | |
|