From: Brian Warner Date: Sun, 18 Dec 2011 20:18:41 +0000 (-0800) Subject: minor cleanup: remove trailing spaces in misc/ X-Git-Url: https://git.rkrishnan.org/frontends/vdrive/global?a=commitdiff_plain;h=37c0f2395d7b373e65a8f8d69a6333cc4c7693f3;p=tahoe-lafs%2Ftahoe-lafs.git minor cleanup: remove trailing spaces in misc/ --- diff --git a/misc/build_helpers/build-deb.py b/misc/build_helpers/build-deb.py index 4d133b0d..8b87159d 100644 --- a/misc/build_helpers/build-deb.py +++ b/misc/build_helpers/build-deb.py @@ -85,7 +85,7 @@ for n in ["compat", "control", "copyright", "pycompat", "rules"]: if not os.path.exists(fn): fn = "misc/debian/%s" % n assert os.path.exists(fn) - + shutil.copyfile(fn, os.path.join(DEBDIR, n)) if n == "rules": os.chmod(os.path.join(DEBDIR, n), 0755) # +x diff --git a/misc/build_helpers/sub-ver.py b/misc/build_helpers/sub-ver.py index 6a1392cb..6c1fbbad 100644 --- a/misc/build_helpers/sub-ver.py +++ b/misc/build_helpers/sub-ver.py @@ -12,7 +12,7 @@ elif len(sys.argv) == 2: else: raise ValueError('must provide 0 or 1 argument (stdin, or filename)') -vern = { +vern = { 'major': v.major or 0, 'minor': v.minor or 0, 'point': v.micro or 0, diff --git a/misc/simulators/simulator.py b/misc/simulators/simulator.py index 10a5494f..972c9582 100644 --- a/misc/simulators/simulator.py +++ b/misc/simulators/simulator.py @@ -287,5 +287,3 @@ def main(): if __name__ == '__main__': main() - - diff --git a/misc/simulators/sizes.py b/misc/simulators/sizes.py index 79109465..b61eb152 100644 --- a/misc/simulators/sizes.py +++ b/misc/simulators/sizes.py @@ -110,8 +110,6 @@ class Sizes: # any data sibling_length = d * (k-1) self.bytes_until_some_data = 32 * sibling_length + block_size - - else: raise ValueError("unknown mode '%s" % mode)