From 4762588a013b67bf2d7a48e4bd448a3d3b97e3f7 Mon Sep 17 00:00:00 2001 From: Steffen Vogel Date: Sat, 4 Apr 2015 17:57:24 +0200 Subject: [PATCH] bugfix: do not require BIRD_HAS_FULL_VIEW in config --- lg.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lg.py b/lg.py index 8e8bb61..21781a3 100644 --- a/lg.py +++ b/lg.py @@ -721,7 +721,7 @@ def show_route(request_type, hosts, proto): continue if bgpmap: - if app.config['BIRD_HAS_FULL_VIEW']: + if app.config.get('BIRD_HAS_FULL_VIEW', False): detail = build_as_tree_from_full_view(host, proto, res) else: detail[host] = build_as_tree_from_raw_bird_ouput(host, proto, res)