From a43ab2a9927d73c4c4dcef63617edbd9ff69dc85 Mon Sep 17 00:00:00 2001 From: Jelle van der Waa Date: Thu, 22 Nov 2018 21:50:02 +0100 Subject: urls: add no cover pragma for unused show_urls --- urls.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'urls.py') diff --git a/urls.py b/urls.py index fd26b1cc..0819d302 100644 --- a/urls.py +++ b/urls.py @@ -105,7 +105,8 @@ urlpatterns.extend([ ]) -def show_urls(urllist=urlpatterns, depth=0): +# displays all archweb urls +def show_urls(urllist=urlpatterns, depth=0): # pragma: no cover for entry in urllist: print(" " * depth, entry.regex.pattern) if hasattr(entry, 'url_patterns'): -- cgit v1.2.3-55-g3dc8