mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 661908 - work around stupid Python 2.5 bug. r=bustage
This commit is contained in:
parent
f04b6adae5
commit
d1be0b86db
@ -3,7 +3,7 @@
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
from __future__ import with_statement
|
||||
import os, platform, subprocess, sys, threading, time
|
||||
import os, subprocess, sys, threading, time
|
||||
from win32 import procmem
|
||||
|
||||
def measure_vsize_threadfunc(proc, output_file):
|
||||
@ -36,7 +36,7 @@ def measure_link_vsize(output_file, args):
|
||||
return exitcode
|
||||
|
||||
if __name__ == "__main__":
|
||||
if platform.system() != "Windows":
|
||||
if sys.platform != "win32":
|
||||
print >>sys.stderr, "link.py is only for use on Windows!"
|
||||
sys.exit(1)
|
||||
if len(sys.argv) < 3:
|
||||
|
Loading…
Reference in New Issue
Block a user