[Checkins] SVN: bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/index.txt fix example code
Michael Haubenwallner
michael at d2m.at
Wed May 27 14:01:41 EDT 2009
Log message for revision 100485:
fix example code
Changed:
U bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/index.txt
-=-
Modified: bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/index.txt
===================================================================
--- bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/index.txt 2009-05-27 17:34:32 UTC (rev 100484)
+++ bobo/trunk/bobodoctestumentation/src/bobodoctestumentation/index.txt 2009-05-27 18:01:41 UTC (rev 100485)
@@ -532,11 +532,11 @@
@bobo.query('')
def base(self, bobo_request):
- return bobo.redirect(request.url+'/')
+ return bobo.redirect(bobo_request.url+'/')
@bobo.query('/')
def index(self):
- return '\n'.join('<a href="%s/">%s<a><br>' % (k, k)
+ return '\n'.join('<a href="%s">%s<a><br>' % (k, k)
for k in self.data)
@bobo.subroute('/:item_id')
More information about the Checkins
mailing list