fix pyflakes warning in debugshell, by providing a dummy value for 'app' that will be overwritten when the manhole connection is established

This commit is contained in:
Brian Warner 2007-01-05 21:15:59 -07:00
parent 9382d61208
commit 5a34753cdb

View 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):