def create_notice_type(label, display, description, default=2):
    try:
        notice_type = NoticeType.objects.get(label=label)
        updated = False
        if display != notice_type.display:
            notice_type.display = display
            updated = True
        if description != notice_type.description:
            notice_type.description = description
            updated = True
        if default != notice_type.default:
            notice_type.default = default
            updated = True
        if updated:
            notice_type.save()
            print "Updated %s NoticeType" % label
    except NoticeType.DoesNotExist:
        NoticeType(label=label, display=display, description=description, default=default).save()
        print "Created %s NoticeType" % label
Select the streams from `read_streams` that are ready for reading, and
dataset/ETHPy150Open davemerwin/blue-channel/external_apps/notification/models.py/create_notice_type--crossover with--dataset/ETHPy150Open d11wtq/dockerpty/dockerpty/io.py/select