[Python-checkins] r42209 - sandbox/trunk/pycon/talks.py
david.goodger
python-checkins at python.org
Tue Jan 31 16:25:41 CET 2006
Author: david.goodger
Date: Tue Jan 31 16:25:40 2006
New Revision: 42209
Modified:
sandbox/trunk/pycon/talks.py
Log:
get_title just returns the title -- HTML processing elsewhere
Modified: sandbox/trunk/pycon/talks.py
==============================================================================
--- sandbox/trunk/pycon/talks.py (original)
+++ sandbox/trunk/pycon/talks.py Tue Jan 31 16:25:40 2006
@@ -57,14 +57,8 @@
73: 'State of Zope',
}
-import cgi
-
def get_title (num):
title = talk_dict.get(num)
if title is None:
return '#' + str(num)
-
- url = 'http://wiki.python.org/moin/PyCon2006/Talks#' + str(num)
- title = cgi.escape(title)
- return '<a href="%s">%s</a>' % (url, title)
-
+ return title
More information about the Python-checkins
mailing list