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

Contents of /src/packages/bugs.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2.2.1 - (hide annotations) (download) (as text)
Tue Oct 4 03:17:31 2005 UTC (8 years, 6 months ago) by marduk
Branch: pre_2-0
Changes since 1.2: +16 -140 lines
File MIME type: text/x-python
This is the development code for what will eventually become version 2.0
of packages.gentoo.org (P2).  Finally commiting to CVS. It is mostly a
complete re-write, which explains the multitude of removals and additions.
The new code will use the Quixote framework
http://www.mems-exchange.org/software/quixote/

1 marduk 1.2.2.1 """/bugs/
2     Like /licenses/ this is only a redirector. Redirect to bugzilla.
3     """
4     from quixote import redirect
5    
6     _q_exports = []
7    
8     BBASE = 'http://bugs.gentoo.org/show_bug.cgi'
9    
10     def _q_index(_):
11     """This should never be called"""
12     return redirect(BBASE)
13    
14     def _q_lookup(_, component):
15     """Redirect: component should be a bug number"""
16     return redirect('%s?id=%s' % (BBASE, component))

  ViewVC Help
Powered by ViewVC 1.1.20