]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
fix pyflakes warning in debugshell, by providing a dummy value for 'app' that will...
authorBrian Warner <warner@allmydata.com>
Sat, 6 Jan 2007 04:15:59 +0000 (21:15 -0700)
committerBrian Warner <warner@allmydata.com>
Sat, 6 Jan 2007 04:15:59 +0000 (21:15 -0700)
src/allmydata/debugshell.py

index 130c90999550ef53239dba4ed5446dfc4e4f4743..b075e1f53dc08fb3e3f7ec46a394d9c097cfdb01 100644 (file)
@@ -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):