fixed example in examples from pull-request, thanks tpng

This commit is contained in:
mdipierro
2012-12-14 14:28:31 -06:00
parent f2e44f96d6
commit 5695fe34f0
3 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ update:
wget -O gluon/contrib/simplejsonrpc.py http://rad2py.googlecode.com/hg/ide2py/simplejsonrpc.py
echo "remember that pymysql was tweaked"
src:
echo 'Version 2.3.1 ('`date +%Y-%m-%d\ %H:%M:%S`') stable' > VERSION
echo 'Version 2.3.1 ('`date +%Y-%m-%d\ %H:%M:%S`') dev' > VERSION
### rm -f all junk files
make clean
### clean up baisc apps
+1 -1
View File
@@ -1 +1 @@
Version 2.3.1 (2012-12-14 09:21:31) stable
Version 2.3.1 (2012-12-14 14:27:22) dev
@@ -1,3 +1,4 @@
def hello1():
""" simple page without template """
@@ -99,7 +100,7 @@ def rss_aggregator():
pubDate=datetime.datetime.now()) for entry in
d.entries])
response.headers['Content-Type'] = 'application/rss+xml'
return rss2.dumps(rss)
return rss.to_xml(encoding='utf-8')
def ajaxwiki():