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:
5e974ed
)
trailing-whitespace eradication, no functional changes
author
Brian Warner
<warner@allmydata.com>
Thu, 1 Nov 2007 22:25:20 +0000
(15:25 -0700)
committer
Brian Warner
<warner@allmydata.com>
Thu, 1 Nov 2007 22:25:20 +0000
(15:25 -0700)
src/allmydata/util/mathutil.py
patch
|
blob
|
history
diff --git
a/src/allmydata/util/mathutil.py
b/src/allmydata/util/mathutil.py
index afcb31214e98193952944e84a9055e84ba10eac7..b95dbaa840502bdbe0c8ccc4d7bcadf64c944cf2 100644
(file)
--- a/
src/allmydata/util/mathutil.py
+++ b/
src/allmydata/util/mathutil.py
@@
-45,7
+45,7
@@
def next_power_of_k(n, k):
return k**(x+1)
else:
return k**x
-
+
def ave(l):
return sum(l) / len(l)