diff options
author | Jelle van der Waa <jelle@vdwaa.nl> | 2017-05-28 16:45:06 +0200 |
---|---|---|
committer | Jelle van der Waa <jelle@vdwaa.nl> | 2017-05-28 16:45:06 +0200 |
commit | 3d1a8302bae53e200cb2b8fc73ae2117b0d1c088 (patch) | |
tree | 4875d468c24b762735ccc643d891f0ff2a68cbd5 /urls.py | |
parent | d0428979d8cb60c6b99ec38a9a24981ae2e5b553 (diff) | |
download | archweb-3d1a8302bae53e200cb2b8fc73ae2117b0d1c088.tar.gz archweb-3d1a8302bae53e200cb2b8fc73ae2117b0d1c088.zip |
Make print statements Python 3 compatible
Diffstat (limited to 'urls.py')
-rw-r--r-- | urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -127,7 +127,7 @@ urlpatterns += [url(old_url, RedirectView.as_view(url=new_url)) def show_urls(urllist=urlpatterns, depth=0): for entry in urllist: - print " " * depth, entry.regex.pattern + print(" " * depth, entry.regex.pattern) if hasattr(entry, 'url_patterns'): show_urls(entry.url_patterns, depth + 1) |