jmg/pyfb — pull request #7 by evandekieft (2012-06-20 01:56:53+00:00)
Title: 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 in

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.