projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
531f562
)
minor cleanup: remove trailing spaces in misc/
author
Brian Warner
<warner@lothar.com>
Sun, 18 Dec 2011 20:18:41 +0000
(12:18 -0800)
committer
Brian Warner
<warner@lothar.com>
Sun, 18 Dec 2011 20:18:41 +0000
(12:18 -0800)
misc/build_helpers/build-deb.py
patch
|
blob
|
history
misc/build_helpers/sub-ver.py
patch
|
blob
|
history
misc/simulators/simulator.py
patch
|
blob
|
history
misc/simulators/sizes.py
patch
|
blob
|
history
diff --git
a/misc/build_helpers/build-deb.py
b/misc/build_helpers/build-deb.py
index 4d133b0d59957a921b12f125df1163ea0879f006..8b87159d1d14f2af56d7d6d339fb86f325fde014 100644
(file)
--- 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 6a1392cb96aa822be6684cc4ec4f74461e21efac..6c1fbbad2be8b0226718111c3bf0ace38f1e551c 100644
(file)
--- 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 10a5494f97418da47c1a8ffdba9d9d3dc14334ba..972c95827c05077288fe2e9603ebc878202ce36a 100644
(file)
--- 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 791094654f284de0e9c4cc65fb03c3db03adcd83..b61eb152a2556cd9946b4fc6e3c2b10c731a532d 100644
(file)
--- 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)