From: Brian Warner Date: Sat, 6 Jan 2007 04:15:59 +0000 (-0700) Subject: fix pyflakes warning in debugshell, by providing a dummy value for 'app' that will... X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~389 X-Git-Url: https://git.rkrishnan.org/pf/reliability?a=commitdiff_plain;h=5a34753cdb5ab4991cc1b4713c0812120348aea3;p=tahoe-lafs%2Ftahoe-lafs.git fix pyflakes warning in debugshell, by providing a dummy value for 'app' that will be overwritten when the manhole connection is established --- diff --git a/src/allmydata/debugshell.py b/src/allmydata/debugshell.py index 130c9099..b075e1f5 100644 --- 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):