comparison roundup/scripts/roundup_server.py @ 2566:dd2b9f5a104c

don't translate strings that never need translation
author Alexander Smishlajev <a1s@users.sourceforge.net>
date Tue, 13 Jul 2004 10:24:19 +0000
parents 6eda7612676d
children 5a8d9465827e
comparison
equal deleted inserted replaced
2565:89c5e8564dad 2566:dd2b9f5a104c
15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 15 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
16 # 16 #
17 17
18 """Command-line script that runs a server over roundup.cgi.client. 18 """Command-line script that runs a server over roundup.cgi.client.
19 19
20 $Id: roundup_server.py,v 1.54 2004-07-04 12:52:06 a1s Exp $ 20 $Id: roundup_server.py,v 1.55 2004-07-13 10:24:19 a1s Exp $
21 """ 21 """
22 __docformat__ = 'restructuredtext' 22 __docformat__ = 'restructuredtext'
23 23
24 # python version check 24 # python version check
25 from roundup import version_check 25 from roundup import version_check
130 w(_('<html><head><title>Roundup trackers index</title></head>\n' 130 w(_('<html><head><title>Roundup trackers index</title></head>\n'
131 '<body><h1>Roundup trackers index</h1><ol>\n')) 131 '<body><h1>Roundup trackers index</h1><ol>\n'))
132 keys = self.TRACKER_HOMES.keys() 132 keys = self.TRACKER_HOMES.keys()
133 keys.sort() 133 keys.sort()
134 for tracker in keys: 134 for tracker in keys:
135 w(_('<li><a href="%(tracker_url)s/index">%(tracker_name)s</a>\n')%{ 135 w('<li><a href="%(tracker_url)s/index">%(tracker_name)s</a>\n'%{
136 'tracker_url': urllib.quote(tracker), 136 'tracker_url': urllib.quote(tracker),
137 'tracker_name': cgi.escape(tracker)}) 137 'tracker_name': cgi.escape(tracker)})
138 w(_('</ol></body></html>')) 138 w('</ol></body></html>')
139 139
140 def inner_run_cgi(self): 140 def inner_run_cgi(self):
141 ''' This is the inner part of the CGI handling 141 ''' This is the inner part of the CGI handling
142 ''' 142 '''
143 rest = self.path 143 rest = self.path

Roundup Issue Tracker: http://roundup-tracker.org/