From: Zac Medico Date: Tue, 25 Apr 2006 03:48:04 +0000 (-0000) Subject: Catch IOError when loading the mtimedb. X-Git-Tag: v2.1_pre10~52 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d37897fe05e1deb835ca21ce3f0f3c044ae403c6;p=portage.git Catch IOError when loading the mtimedb. svn path=/main/trunk/; revision=3222 --- diff --git a/pym/portage.py b/pym/portage.py index 1dc1a999c..b957b2071 100644 --- a/pym/portage.py +++ b/pym/portage.py @@ -6837,7 +6837,7 @@ try: mtimedb = load_mtimedb(f) f.close() del f -except OSError: +except (IOError, OSError): mtimedb = {"updates":{}, "version":"", "starttime":0} features=settings["FEATURES"].split()