diff options
author | jelle van der Waa <jelle@vdwaa.nl> | 2018-11-22 21:56:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-22 21:56:44 +0100 |
commit | 2832455cb330ac08f9436cb44225ce44054b78cf (patch) | |
tree | 8b99607c3df031d5e61a8069d48c893555f566e3 | |
parent | fb923c4e4f82cb0760cf3db1e20efac8cb48ffb2 (diff) | |
parent | a43ab2a9927d73c4c4dcef63617edbd9ff69dc85 (diff) | |
download | archweb-2832455cb330ac08f9436cb44225ce44054b78cf.tar.gz archweb-2832455cb330ac08f9436cb44225ce44054b78cf.zip |
Merge pull request #160 from jelly/urls_coverage
urls: add no cover pragma for unused show_urls
-rw-r--r-- | urls.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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'): |