def get(self, uuid): """Return the history for a provided UUID.""" install_status = InstallStatus(uuid) history = install_status.get_history() if not history: return abort(404) return history
def get(self, uuid): """Returns the history for a provided UUID""" install_status = InstallStatus(uuid) history = install_status.get_history() if len(history) == 0: return abort(404) return history