There shall be no appeal from a judgment granting or refusing to grant release upon a petition for a writ of habeas corpus.