Hi Ben, Can you provide a more complete example of the code that causes this issue? As well as the complete stack trace.
Thanks, Marzia On Fri, Nov 14, 2008 at 9:40 AM, Ben Adida <[EMAIL PROTECTED]> wrote: > > > Suddenly, I'm getting the following errors on just about every page: > > if hasattr(obj, 'has_key') and obj.has_key(key): > TypeError: has_key() takes exactly 1 argument (2 given) > > This is within the Cheetah templating library, _valueForName function. > I haven't modified the Cheetah code, nor have I modified my > application at GAE in the last few days. > > And I can't reproduce this error in my local SDK installation. > > Did GAE just change some internal libraries? I don't even understand > why has_key() would ever take only one argument... > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---