From: zooko Date: Sun, 1 Aug 2010 06:20:46 +0000 (+0530) Subject: M-x whitespace-cleanup X-Git-Url: https://git.rkrishnan.org/architecture.txt?a=commitdiff_plain;h=d28ad9643f8dacf97a9f99bef0fb4e60c466a675;p=tahoe-lafs%2Fzfec.git M-x whitespace-cleanup Ignore-this: 3b7fcb62a2aad6fbf18c2294fed1283d darcs-hash:af93a6ed31d0392b1b9d3a854b52cf1f633c2ea9 --- diff --git a/zfec/zfec/cmdline_zfec.py b/zfec/zfec/cmdline_zfec.py index b74ad5c..c1389be 100755 --- a/zfec/zfec/cmdline_zfec.py +++ b/zfec/zfec/cmdline_zfec.py @@ -43,7 +43,7 @@ def main(): if args.verbose and args.quiet: print "Please choose only one of --verbose and --quiet." sys.exit(1) - + if args.totalshares > 256 or args.totalshares < 1: print "Invalid parameters, totalshares is required to be <= 256 and >= 1\nPlease see the accompanying documentation." sys.exit(1) @@ -63,10 +63,10 @@ def main(): return filefec.encode_to_files(args.inputfile, fsize, args.output_dir, args.prefix, args.requiredshares, args.totalshares, args.suffix, args.force, args.verbose) # zfec -- fast forward error correction library with Python interface -# +# # Copyright (C) 2007 Allmydata, Inc. # Author: Zooko Wilcox-O'Hearn -# +# # This file is part of zfec. # # See README.txt for licensing information.