damned-lies r979 - trunk
- From: claudep svn gnome org
- To: svn-commits-list gnome org
- Subject: damned-lies r979 - trunk
- Date: Sat, 30 Aug 2008 10:32:53 +0000 (UTC)
Author: claudep
Date: Sat Aug 30 10:32:52 2008
New Revision: 979
URL: http://svn.gnome.org/viewvc/damned-lies?rev=979&view=rev
Log:
2008-08-30 Claude Paroz <claude 2xlibre net>
* module.py: Do computation in render() instead of __init__() for
ListModulesRequest, so as XmlModules are only loaded once.
* releases.xml.in: Added 'master' branch to avahi.
Modified:
trunk/ChangeLog
trunk/module.py
trunk/releases.xml.in
Modified: trunk/module.py
==============================================================================
--- trunk/module.py (original)
+++ trunk/module.py Sat Aug 30 10:32:52 2008
@@ -53,14 +53,14 @@
return cmp(a, b)*-1
class ListModulesRequest(DamnedRequest):
- def __init__(self, template=None, xmltemplate=None):
- global allmodules
- DamnedRequest.__init__(self, template, xmltemplate)
+ def render(self, type='html'):
+ global allmodules
allmodules = modules.XmlModules()
moduleids = allmodules.keys()
moduleids.sort(compare_module_names)
self.modids = moduleids
self.modules = allmodules
+ DamnedRequest.render(self, type)
class ModulePageRequest(DamnedRequest):
def render(self, type='html'):
Modified: trunk/releases.xml.in
==============================================================================
--- trunk/releases.xml.in (original)
+++ trunk/releases.xml.in Sat Aug 30 10:32:52 2008
@@ -824,7 +824,7 @@
<release id="freedesktop.org" status="external">
<_description>freedesktop.org (non-GNOME)</_description>
- <module id="avahi"/>
+ <module id="avahi" branch="master"/>
<module id="gstreamer"/>
<module id="gst-plugins-base"/>
<module id="gst-plugins-good"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]