From 6417931a9fd319166d1827d886843a4abb5c4820 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 13 Oct 2015 17:51:11 +0200 Subject: [PATCH] Fix left-over Python 3 syntax errors Reviewed-By: Tomas Babej --- ipaserver/install/dsinstance.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 07083460d..2952836d6 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -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