summaryrefslogtreecommitdiffstats
path: root/pykolab
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-16 02:39:33 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-02-16 02:39:33 +0100
commit9c8f300fe25f6e37be6fbe748577dcc27406b391 (patch)
treed1df00e718e96be6573e7433c0b19b2b1488ab41 /pykolab
parent7fd271c1869c79a2899cc7ac5ccc913033df3aa3 (diff)
downloadpykolab-9c8f300fe25f6e37be6fbe748577dcc27406b391.tar.gz
Grrrr, it's too late at night...
Diffstat (limited to 'pykolab')
-rw-r--r--pykolab/auth/ldap/auth_cache.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pykolab/auth/ldap/auth_cache.py b/pykolab/auth/ldap/auth_cache.py
index bcf38dc..fe265f8 100644
--- a/pykolab/auth/ldap/auth_cache.py
+++ b/pykolab/auth/ldap/auth_cache.py
@@ -93,7 +93,7 @@ def del_entry(key):
_entries = db.query(Entry).filter_by(key=key).delete()
except sqlalchemy.exc.OperationalError, errmsg:
db = init_db(reinit=True)
- except: sqlalchemy.exc.InvalidRequest, errmsg:
+ except sqlalchemy.exc.InvalidRequest, errmsg:
db = init_db(reinit=True)
finally:
_entries = db.query(Entry).filter_by(key=key).delete()
@@ -107,7 +107,7 @@ def get_entry(key):
_entries = db.query(Entry).filter_by(key=key).all()
except sqlalchemy.exc.OperationalError, errmsg:
db = init_db(reinit=True)
- except: sqlalchemy.exc.InvalidRequest, errmsg:
+ except sqlalchemy.exc.InvalidRequest, errmsg:
db = init_db(reinit=True)
finally:
_entries = db.query(Entry).filter_by(key=key).all()
@@ -128,7 +128,7 @@ def set_entry(key, value):
_entries = db.query(Entry).filter_by(key=key).all()
except sqlalchemy.exc.OperationalError, errmsg:
db = init_db(reinit=True)
- except: sqlalchemy.exc.InvalidRequest, errmsg:
+ except sqlalchemy.exc.InvalidRequest, errmsg:
db = init_db(reinit=True)
finally:
_entries = db.query(Entry).filter_by(key=key).all()