From 0617e229a8254a4d427181e7ab72ae65c47fa5ee Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Fri, 21 Nov 2008 15:35:44 +0900 Subject: [PATCH] don't catch error reading deck --- anki/deck.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/anki/deck.py b/anki/deck.py index 92e86314f..746a8e110 100644 --- a/anki/deck.py +++ b/anki/deck.py @@ -8,8 +8,6 @@ The Deck """ __docformat__ = 'restructuredtext' -# - rebuildqueue compuls. - import tempfile, time, os, random, sys, re, stat, shutil, types from anki.db import * @@ -1567,9 +1565,6 @@ class DeckStorage(object): path = os.path.abspath(path) #print "using path", path if os.path.exists(path): - # attach - if not os.access(path, os.R_OK | os.W_OK): - raise DeckAccessError(_("Can't read/write deck")) create = False # attach and sync/fetch deck - first, to unicode if not isinstance(path, types.UnicodeType):