/[gentoo]/src/packages/bugs.py
Gentoo

Contents of /src/packages/bugs.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2.2.2 - (hide annotations) (download) (as text)
Tue Oct 4 17:04:05 2005 UTC (9 years, 6 months ago) by marduk
Branch: pre_2-0
Changes since 1.2.2.1: +11 -0 lines
File MIME type: text/x-python
Refactoring.

1 marduk 1.2.2.2 #
2     # Copyright (C) 2005, marduk <marduk@python.net>
3     #
4     # This copyrighted material is made available to anyone wishing to use,
5     # modify, copy, or redistribute it subject to the terms and conditions
6     # of the GNU General Public License v.2.
7     #
8     # You should have received a copy of the GNU General Public License
9     # along with this program; if not, write to the Free Software Foundation,
10     # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
11     #
12 marduk 1.2.2.1 """/bugs/
13     Like /licenses/ this is only a redirector. Redirect to bugzilla.
14     """
15     from quixote import redirect
16    
17     _q_exports = []
18    
19     BBASE = 'http://bugs.gentoo.org/show_bug.cgi'
20    
21     def _q_index(_):
22     """This should never be called"""
23     return redirect(BBASE)
24    
25     def _q_lookup(_, component):
26     """Redirect: component should be a bug number"""
27     return redirect('%s?id=%s' % (BBASE, component))

  ViewVC Help
Powered by ViewVC 1.1.20