Just spotted one typo in the middle of the Overview Chapter inside the 
xmlrpc section, ")" is missing at the end of code.


1.
2.
3.
4.
5.
6.
7.
8.
9.
10.

service = Service()

@service.xmlrpc
def find_by(keyword):
     "finds pages that contain keyword for XML-RPC"
     return db(db.page.title.contains(keyword).select().as_list()

def call():
    "exposes all registered services, including XML-RPC"
    return service()


whereas the final statement of the function find_by:-

"return db(db.page.title.contains(keyword).select().as_list()" should be 
replaced by:-

"return db(db.page.title.contains(keyword).select().as_list())"


-- 



Reply via email to