Pastebin

Paste #2268: No description

< previous paste - next paste>

Pasted by chrivers

Download View as text

        return db.query(Schedule). \
                filter((Schedule.nodesinclude.any(ScheduleNodeInclude.node == self.name)
                        | Schedule.groupsinclude.any(ScheduleGroupInclude.group.in_(groups)))
                       & ~(Schedule.nodesexclude.any(ScheduleNodeExclude.node == self.name))
                       & ~(Schedule.groupsexclude.any(ScheduleGroupExclude.group.in_(groups)))).all()

New Paste


Do not write anything in this field if you're a human.

Go to most recent paste.