]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
Failing to load a crawler state pickle uses default values, but the exception clause...
authordavid-sarah <david-sarah@jacaranda.org>
Mon, 2 Jul 2012 18:18:47 +0000 (18:18 +0000)
committerdavid-sarah <david-sarah@jacaranda.org>
Mon, 2 Jul 2012 18:18:47 +0000 (18:18 +0000)
src/allmydata/storage/crawler.py

index 3a917b8d4db5ed9d9630a81a0fd392df5041b8ca..438dd5e319d2ced270f0979a6fdaac74a95f0c49 100644 (file)
@@ -194,7 +194,7 @@ class ShareCrawler(service.MultiService):
             f = open(self.statefile, "rb")
             state = pickle.load(f)
             f.close()
-        except EnvironmentError:
+        except Exception:
             state = {"version": 1,
                      "last-cycle-finished": None,
                      "current-cycle": None,