def adjust_flow(self, category):
        """Adjust the flow of source control objects."""

        status = flow_control.SKIP
        for allow in self.allow:
            if self.match(category, allow):
                status = flow_control.ALLOW
                for skip in self.skip:
                    if self.match(category, skip):
                        status = flow_control.SKIP
                for halt in self.halt:
                    if self.match(category, halt):
                        status = flow_control.HALT
                if status != flow_control.ALLOW:
                    break
        return status
def adjust_flow ( self , category ) : status = flow_control . SKIP for allow in self . allow : if self . match ( category , allow ) : status = flow_control . ALLOW for skip in self . skip : if self . match ( category , skip ) : status = flow_control . SKIP for halt in self . halt : if self . match ( category , halt ) : status = flow_control . HALT if status != flow_control . ALLOW : break return status
Adjust the flow of source control objects.