summaryrefslogtreecommitdiffstats
path: root/urls.py
diff options
context:
space:
mode:
authorJelle van der Waa <jelle@vdwaa.nl>2017-05-28 16:45:06 +0200
committerJelle van der Waa <jelle@vdwaa.nl>2017-05-28 16:45:06 +0200
commit3d1a8302bae53e200cb2b8fc73ae2117b0d1c088 (patch)
tree4875d468c24b762735ccc643d891f0ff2a68cbd5 /urls.py
parentd0428979d8cb60c6b99ec38a9a24981ae2e5b553 (diff)
downloadarchweb-3d1a8302bae53e200cb2b8fc73ae2117b0d1c088.tar.gz
archweb-3d1a8302bae53e200cb2b8fc73ae2117b0d1c088.zip
Make print statements Python 3 compatible
Diffstat (limited to 'urls.py')
-rw-r--r--urls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/urls.py b/urls.py
index 134ce33e..d95dc63c 100644
--- a/urls.py
+++ b/urls.py
@@ -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)