def has_flag(self, flag): return testing.has_flag("HEAD", flag)
def has_flag(self, flag): if self.upgrade_commit and self.__upgraded: check_commit = self.upgrade_commit else: check_commit = self.install_commit return testing.has_flag(check_commit, flag)