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.
  • [get | view] (2006-01-10 20:59:37, 2.1 KB) [[attachment:CannotAttach.txt]]
  • [get | view] (2006-01-25 09:49:52, 0.7 KB) [[attachment:win32binary.patch]]
 All files | Selected Files: delete move to page copy to page

You are not allowed to attach a file to this page.