summaryrefslogtreecommitdiffstats
path: root/src/tests/intg/ds_openldap.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/intg/ds_openldap.py')
-rw-r--r--src/tests/intg/ds_openldap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/intg/ds_openldap.py b/src/tests/intg/ds_openldap.py
index c58e53a2..42a2c900 100644
--- a/src/tests/intg/ds_openldap.py
+++ b/src/tests/intg/ds_openldap.py
@@ -271,7 +271,7 @@ class DSOpenLDAP(DS):
if ++attempt > 30:
raise Exception("Failed to stop slapd")
time.sleep(1)
- except IOError, e:
+ except IOError as e:
if e.errno != errno.ENOENT:
raise