def summarize(self):
        self.branch_list = self.detect_branches()
        if type(self.branch_list) not in [list, tuple]:
            self.exit(self.branch_list if self.branch_list is not None else 1)
        info("Releasing package" +
             ('' if len(self.branch_list) == 1 else 's') + ": " + str(self.branch_list))
dataset/ETHPy150Open ros-infrastructure/bloom/bloom/generators/release.py/ReleaseGenerator.summarize/original