> Since queryCatalog() take no arguments, how can I use it with condition > like e.g review_state='published' . You need to read some on the python syntax... it does take arguments. http://www.python.org/doc/current/tut/node6.html#SECTION006720000000000000000 -- /Magnus