From: Daira Hopwood Date: Thu, 5 Sep 2013 18:04:13 +0000 (+0100) Subject: Sun Dec 18 20:18:41 GMT 2011 Brian Warner X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/flags/class-simplejson.JSONDecoder.html?a=commitdiff_plain;h=f17e50294bc78937eb78ca454dd79ac3d7f705a9;p=tahoe-lafs%2Ftahoe-lafs.git Sun Dec 18 20:18:41 GMT 2011 Brian Warner * 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 adf674de..fa97f87f 100644 --- a/misc/simulators/simulator.py +++ b/misc/simulators/simulator.py @@ -288,5 +288,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)