Closed inderweltsein closed 10 years ago
Ah, that m.update() line is awful. It will result in the entire file being read into memory before being added to the hash. I'll fix this now. Are you able to install from source?
On 21 October 2013 12:47, inderweltsein notifications@github.com wrote:
MemoryError(): File "/usr/local/lib/python2.6/dist-packages/libgsync/sync/file/local/init.py", line 102, in _md5Checksum m.update(f.read())
That obviously implies 'md5Checksum' = None and that the file is transferred even if it has not changed
— Reply to this email directly or view it on GitHubhttps://github.com/iwonbigbro/gsync/issues/32 .
I can have a new release on pypi for this bug tonight.
I have just released 0.1.13 on pypi.
MemoryError(): File "/usr/local/lib/python2.6/dist-packages/libgsync/sync/file/local/init.py", line 102, in _md5Checksum m.update(f.read())
That obviously implies 'md5Checksum' = None and that the file is transferred even if it has not changed