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:
9382d61
)
fix pyflakes warning in debugshell, by providing a dummy value for 'app' that will...
author
Brian Warner
<warner@allmydata.com>
Sat, 6 Jan 2007 04:15:59 +0000
(21:15 -0700)
committer
Brian Warner
<warner@allmydata.com>
Sat, 6 Jan 2007 04:15:59 +0000
(21:15 -0700)
src/allmydata/debugshell.py
patch
|
blob
|
history
diff --git
a/src/allmydata/debugshell.py
b/src/allmydata/debugshell.py
index 130c90999550ef53239dba4ed5446dfc4e4f4743..b075e1f53dc08fb3e3f7ec46a394d9c097cfdb01 100644
(file)
--- a/
src/allmydata/debugshell.py
+++ b/
src/allmydata/debugshell.py
@@
-1,5
+1,9
@@
import os
+# 'app' is overwritten by manhole when the connection is established. We set
+# it to None now to keep pyflakes from complaining.
+app = None
+
def get_random_bucket_on(nodeid, size=200):
d = app.get_remote_service(nodeid, 'storageserver')
def get_bucket(rss):