summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-16 15:01:54 +0100
committerSam Thursfield <sam.thursfield@codethink.co.uk>2015-06-16 15:01:54 +0100
commit9d91283fc684ea16358fd5f4bbc88ac4a2368630 (patch)
tree24612470c8a9e61d1e16e86415bef06f76e087a8
parent062def77a3f11de2821888c754ae44f068b0ec8b (diff)
downloadmorph-cache-server-9d91283fc684ea16358fd5f4bbc88ac4a2368630.tar.gz
Remove debugging and tweak comment
-rw-r--r--morphcacheserver/templates/artifact_info.tpl9
1 files changed, 5 insertions, 4 deletions
diff --git a/morphcacheserver/templates/artifact_info.tpl b/morphcacheserver/templates/artifact_info.tpl
index ca0ebb0..5e6c72c 100644
--- a/morphcacheserver/templates/artifact_info.tpl
+++ b/morphcacheserver/templates/artifact_info.tpl
@@ -9,9 +9,11 @@ Back to <a href="/artifacts">list of artifacts</a>.
</p>
<%
-# This is a cheeky hack that will break on artifacts not built from a Trove.
-import urlparse, logging
-logging.info(source_repo)
+# This is a cheeky hack to calculate cgit URLS that will break on artifacts not
+# built from a Trove.
+
+import urlparse
+
if source_repo is not None:
source_repo_split = urlparse.urlsplit(source_repo)
source_repo_netloc = source_repo_split.netloc
@@ -27,7 +29,6 @@ if source_repo is not None:
source_repo_cgit_url, source_ref)
source_ref_with_url = '<a href="%s">%s</a>' % (
source_ref_cgit_url, source_ref)
- logging.debug(locals())
%>
<p>