jmg/pyfb — pull request #6 by Fundme (2012-06-20 01:55:54+00:00)
Title: Fix for Exception encountered at FQL execution time when a user has the word "error" in a selected field

I encountered an Exception when using pyfb to execute FQL and the word "error" was present in the "work" field of one of the users returned by the query. Checking for "error" anywhere in the response string is overly broad when user-contributed text is included in the selected FQL output; the more-specific "error_code" check in this commit worked well for me.