=== modified file 'bin/swift' --- bin/swift 2011-07-07 14:24:37 +0000 +++ bin/swift 2011-07-27 19:23:55 +0000 @@ -1646,7 +1646,7 @@ if err.http_status != 404: raise if options.segment_size and \ - getsize(path) < options.segment_size: + int(options.segment_size) < getsize(path): full_size = getsize(path) segment_queue = Queue(10000) segment_threads = [QueueFunctionThread(segment_queue,