Attachment 'win32binary.patch'
Download 1 --- orig/MoinMoin/request.py
2 +++ mod/MoinMoin/request.py
3 @@ -1325,15 +1325,15 @@
4
5 def __init__(self, properties={}):
6 try:
7 - self._setup_vars_from_std_env(os.environ)
8 - RequestBase.__init__(self, properties)
9 -
10 # force input/output to binary
11 if sys.platform == "win32":
12 import msvcrt
13 msvcrt.setmode(sys.stdin.fileno(), os.O_BINARY)
14 msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)
15
16 + self._setup_vars_from_std_env(os.environ)
17 + RequestBase.__init__(self, properties)
18 +
19 except Exception, err:
20 self.fail(err)
21
Attached Files
To refer to attachments on a page, use attachment:filename, as shown below in the list of files. Do NOT use the URL of the [get] link, since this is subject to change and can break easily.You are not allowed to attach a file to this page.