summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorThomas Rueckstiess <thomas@rueckstiess.net>2015-01-06 17:16:17 +1100
committerThomas Rueckstiess <thomas@rueckstiess.net>2015-01-06 17:16:17 +1100
commit7d1f15cb26f125dd7c2536d40811d7e3da9a226c (patch)
tree54ed8c5836631c2f9d1b0f98325d3ca0a50902ab /tools
parent5aea425a53094eaaedc608cd663680aa06d72bf9 (diff)
downloadmongo-7d1f15cb26f125dd7c2536d40811d7e3da9a226c.tar.gz
bumped template version to 0.9 and fixed multi line strings in wtstats.py.
Diffstat (limited to 'tools')
-rw-r--r--tools/template/package.json4
-rwxr-xr-xtools/wtstats.py16
2 files changed, 10 insertions, 10 deletions
diff --git a/tools/template/package.json b/tools/template/package.json
index 07fdb516298..ede36c38c7d 100644
--- a/tools/template/package.json
+++ b/tools/template/package.json
@@ -1,7 +1,7 @@
{
"name": "wtstats-template",
- "version": "0.2.0",
- "description": "create a WiredTiger stats .html template",
+ "version": "0.9.0",
+ "description": "create the WiredTiger stats .html template",
"main": "index.js",
"scripts": {
"build": "gulp pack"
diff --git a/tools/wtstats.py b/tools/wtstats.py
index 86585547dde..c72e797f38f 100755
--- a/tools/wtstats.py
+++ b/tools/wtstats.py
@@ -36,8 +36,8 @@ try:
from stat_data \
import groups, no_scale_per_second_list, no_clear_list, prefix_list
except ImportError:
- print >>sys.stderr, "Could not import stat_data.py, it should be\
- in the same directory as %s" % sys.argv[0]
+ print >>sys.stderr, "Could not import stat_data.py, it should be" \
+ "in the same directory as %s" % sys.argv[0]
sys.exit(-1)
thisyear = datetime.today().year
@@ -88,8 +88,8 @@ def munge(args, title, values):
import argparse
def main():
- parser = argparse.ArgumentParser(description='Create graphs from \
- WiredTiger statistics.')
+ parser = argparse.ArgumentParser(description='Create graphs from' \
+ 'WiredTiger statistics.')
parser.add_argument('--all', '-A', action='store_true',
help='generate separate html files for each stats group')
parser.add_argument('--clear', action='store_true',
@@ -104,8 +104,8 @@ def main():
parser.add_argument('--json', action='store_true',
help='additionally output data series in json format')
parser.add_argument('files', metavar='file', nargs='+',
- help='input files or directories generated by WiredTiger statistics \
- logging')
+ help='input files or directories generated by WiredTiger statistics' \
+ 'logging')
args = parser.parse_args()
# Read the input file(s) into a dictionary of lists.
@@ -201,8 +201,8 @@ def main():
srcfile = open(srcfile)
contents = srcfile.read()
except IOError:
- print >>sys.stderr, "Cannot find template file 'wtstats.html.\
- template'. See ./template/README.md for more information."
+ print >>sys.stderr, "Cannot find template file 'wtstats.html." \
+ "template'. See ./template/README.md for more information."
sys.exit(-1)
srcfile.close()