how to define def poll SVN 31192

This latest versions SVN (surely 31192) of blender want poll defined like this:


    @classmethod
    def poll(cls, context):

it was a while def poll(context)