Thank to all for explaining this mysterious message and showing me the
correction.
It now works great!  Another post gave me the clue on how to get the
count working.

  def get(self):
     query = TaskLog.gql("WHERE resultFlag > 0");  # get all rows
     LIMIT = 1000
     TaskLogs = query.fetch(LIMIT,offset=0);

     if TaskLogs.count(TaskLog) > 0:
       self.renderPage('templates/list.html', {"TaskLogs": TaskLogs})
     else:
        self.response.out.write("""
            <h3>Error - no TaskLogs returned from query</h3>
            """)

Do Python developers usually make classes upper case and objects lower
case?

Neal Walters

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to