aboutsummaryrefslogtreecommitdiff
path: root/rp/rcynic/rcynic-html
diff options
context:
space:
mode:
authorRob Austein <sra@hactrn.net>2014-04-12 14:46:30 +0000
committerRob Austein <sra@hactrn.net>2014-04-12 14:46:30 +0000
commit7ca4c3eaac0a159d6daa39db781f4622ed0fbc24 (patch)
tree29130c2e789b0321984446434fc244d374c18f6c /rp/rcynic/rcynic-html
parentbe51aaa71e5b0f49b3a36b74e01e037925ff8625 (diff)
Clean up kludges left from before RP code could use our the Python
libraries. svn path=/trunk/; revision=5787
Diffstat (limited to 'rp/rcynic/rcynic-html')
-rwxr-xr-xrp/rcynic/rcynic-html7
1 files changed, 1 insertions, 6 deletions
diff --git a/rp/rcynic/rcynic-html b/rp/rcynic/rcynic-html
index cf5f5368..f0a3b574 100755
--- a/rp/rcynic/rcynic-html
+++ b/rp/rcynic/rcynic-html
@@ -43,11 +43,6 @@ def parse_options():
global args
- try:
- default_rrdtool_binary = rpki.autoconf.RRDTOOL
- except NameError:
- default_rrdtool_binary = "rrdtool"
-
parser = argparse.ArgumentParser(description = __doc__)
parser.add_argument("--refresh", type = int, default = 1800,
help = "refresh interval for generated HTML")
@@ -71,7 +66,7 @@ def parse_options():
help = "height of EPS images")
parser.add_argument("--eps-width", type = int, default = 0,
help = "width of EPS images")
- parser.add_argument("--rrdtool-binary", default = default_rrdtool_binary,
+ parser.add_argument("--rrdtool-binary", default = rpki.autoconf.RRDTOOL,
help = "location of rrdtool binary")
parser.add_argument("input_file", type = argparse.FileType("r"),
help = "XML input file")