Revision: 753
          http://rpy.svn.sourceforge.net/rpy/?rev=753&view=rev
Author:   lgautier
Date:     2009-08-23 16:40:53 +0000 (Sun, 23 Aug 2009)

Log Message:
-----------
forgotten template

Modified Paths:
--------------
    trunk/htdocs/build.py

Modified: trunk/htdocs/build.py
===================================================================
--- trunk/htdocs/build.py       2009-08-23 15:55:46 UTC (rev 752)
+++ trunk/htdocs/build.py       2009-08-23 16:40:53 UTC (rev 753)
@@ -1,3 +1,4 @@
+import time
 from jinja2 import Environment, FileSystemLoader
 
 to_render = ('index.html',
@@ -5,6 +6,7 @@
              'maillist.html',
              'rpy.html',
              'rpy_bugs.html',
+             'rpy_documentation.html',
              'rpy_demo.html',
              'rpy_download.html',
              'rpy_faq.html',
@@ -37,6 +39,8 @@
     template = env.get_template(tpl)
 
     f = file(tpl, 'w')
-    f.write(template.render(latestnews = newsdata[:8], newslist = newsdata))
+    f.write(template.render(latestnews = newsdata[:8],
+                            newslist = newsdata,
+                            date = time.localtime()))
     f.close()
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to