def setUnder(self, under):
        if under not in self.unders: #not already attached
            under.attach(over = self) #this also detaches if under attached to someone else

        index = self.unders.index(under) #find position of under in unders
        if index != 0: #not already primary
            self.unders.remove(under) #remove
            self.unders.insert(0, under) #insert as primary
Removes the previous configuration file, then creates a new one and writes
dataset/ETHPy150Open ioflo/ioflo/ioflo/base/framing.py/Frame.setUnder--crossover with--dataset/ETHPy150Open saltstack/salt/salt/modules/syslog_ng.py/write_version