From b379b6255770333adb6f35a9beda8cf91b0fde1b Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Thu, 12 May 2011 17:22:43 -0400 Subject: [PATCH] Write docs/errors.md in binary mode --- buildscripts/errorcodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/buildscripts/errorcodes.py b/buildscripts/errorcodes.py index 99ef74b5620..d5ab6387dc6 100755 --- a/buildscripts/errorcodes.py +++ b/buildscripts/errorcodes.py @@ -87,7 +87,7 @@ def genErrorOutput(): i = open( "docs/errors.md" , "r" ) - out = open( "docs/errors.md" , 'w' ) + out = open( "docs/errors.md" , 'wb' ) out.write( "MongoDB Error Codes\n==========\n\n\n" ) prev = ""