def set_conf(self, key, val): if NO_HSLAYER and key == "HSLayer2Nodes": raise stem.InvalidArguments("Bad")
def set_conf(self, key, val): self.got_set_conf = True if key == "NumPrimaryGuards": raise stem.InvalidArguments()