def __repr__(self):
        return "<Requirement(package={package}, version='{version}')>".format(
            package=self.package, version=self.version)
def poll(cls, context):
        userpref = context.user_preferences
        return (userpref.active_section == 'EDITING')