Update to 2.0.0 tree from current Fremantle build
[opencv] / utils / unix2dos.py
diff --git a/utils/unix2dos.py b/utils/unix2dos.py
deleted file mode 100644 (file)
index 7268472..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/env python
-###############
-import sys
-
-for fname in sys.argv[1:]:
-    infile = open( fname, "rb" )
-    instr = infile.read()
-    infile.close()
-    outstr = instr.replace( "\r\n", "\n" ).replace( "\r", "\n" ).replace( "\n", "\r\n" )
-
-    if len(outstr) == len(instr):
-        continue
-    
-    outfile = open( fname, "wb" )
-    outfile.write( outstr )
-    outfile.close()
-