Commits

Ned Batchelder  committed 84fac5c

403's should also be in the skipped list.

  • Participants
  • Parent commits 8302228

Comments (0)

Files changed (1)

File save_tabblos.py

                 except urllib2.HTTPError, e:
                     if e.getcode() in (403, 500):
                         self.log("Can't download %s, skipped. (%s)" % (id, e))
-                        if e.getcode() == 500:
-                            self.skipped.append(id)
+                        self.skipped.append(id)
                         e = None
                         break
                     self.log("Retrying... (%s)" % e)
         self.download_tabblos(ids)
         if self.skipped:
             self.log("Skipped %d tabblos: %s." % (len(self.skipped), ", ".join(str(i) for i in self.skipped)))
-            self.log("Correct those tabblos and rerun Lifeboat.")
+            self.log("Correct those tabblos (if you haven't already deleted them) and rerun Lifeboat.")
             os.remove(self.ids_txt_fname)
         else:
             self.generate_toc(ids)