[xiph-cvs] cvs commit: positron/positron util.py

Stan Seibert volsung at xiph.org
Mon Jul 7 19:59:37 PDT 2003



volsung     03/07/07 22:59:37

  Modified:    positron util.py
  Log:
  Apparently using smaller block sizes helps people who frequently have
  USB errors when syncing.  Hopefully mitigates bug 367 somewhat.

Revision  Changes    Path
1.2       +1 -1      positron/positron/util.py

Index: util.py
===================================================================
RCS file: /usr/local/cvsroot/positron/positron/util.py,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- util.py	22 May 2003 04:42:52 -0000	1.1
+++ util.py	8 Jul 2003 02:59:37 -0000	1.2
@@ -31,7 +31,7 @@
     """Copy a file from src_filename to dest_filename
 
     Directories are created as needed to accomodate dest_filename"""
-    blocksize = 1048576
+    blocksize = 1024
     src = file(src_filename, "rb")
 
     (dirname, basename) = os.path.split(dest_filename)

<p><p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list