def __repr__(self):
        return "<Requirements({})>".format(self.filename.name or "")
def poll(cls, context):
        userpref = context.user_preferences
        return (userpref.active_section == 'FILES')