From 5a34753cdb5ab4991cc1b4713c0812120348aea3 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Fri, 5 Jan 2007 21:15:59 -0700 Subject: [PATCH] fix pyflakes warning in debugshell, by providing a dummy value for 'app' that will be overwritten when the manhole connection is established --- src/allmydata/debugshell.py | 4 ++++ 1 file changed, 4 insertions(+) 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): -- 2.45.2