Fix left-over Python 3 syntax errors

Reviewed-By: Tomas Babej <tbabej@redhat.com>
This commit is contained in:
Petr Viktorin
2015-10-13 17:51:11 +02:00
committed by Martin Basti
parent ab75964b9a
commit 6417931a9f

View File

@@ -438,11 +438,11 @@ class DsInstance(service.Service):
for r in res:
try:
self.admin_conn.delete_entry(r)
except Exception, e:
except Exception as e:
root_logger.critical(
"Error during SASL mapping removal: %s", e)
raise
except Exception, e:
except Exception as e:
root_logger.critical("Error while enumerating SASL mappings %s", e)
raise