From: Zooko O'Whielacronx <zooko@zooko.com>
Date: Mon, 20 Jul 2009 00:21:14 +0000 (-0700)
Subject: directories: minor change: fix warning message from the benchmarking script
X-Git-Tag: allmydata-tahoe-1.5.0~36
X-Git-Url: https://git.rkrishnan.org/simplejson/...?a=commitdiff_plain;h=c6fce3a1c63e0af60a71714bf1691af27d446b26;p=tahoe-lafs%2Ftahoe-lafs.git

directories: minor change: fix warning message from the benchmarking script
---

diff --git a/src/allmydata/test/bench_dirnode.py b/src/allmydata/test/bench_dirnode.py
index df534345..70b5ee4e 100644
--- a/src/allmydata/test/bench_dirnode.py
+++ b/src/allmydata/test/bench_dirnode.py
@@ -104,7 +104,7 @@ def prof_benchmarks():
 if __name__ == "__main__":
     if '--profile' in sys.argv:
         if os.path.exists(PROF_FILE_NAME):
-            print "WARNING: profiling results file '%s' already exists -- the profiling results from this run will be added into the profiling results stored in that file and then the sum of them will be printed out after this run."
+            print "WARNING: profiling results file '%s' already exists -- the profiling results from this run will be added into the profiling results stored in that file and then the sum of them will be printed out after this run." % (PROF_FILE_NAME,)
         prof_benchmarks()
         print_stats()
     else: