summaryrefslogtreecommitdiffstats
path: root/ipapython/sysrestore.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipapython/sysrestore.py')
-rw-r--r--ipapython/sysrestore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipapython/sysrestore.py b/ipapython/sysrestore.py
index 935e4c6ce..a542b28c9 100644
--- a/ipapython/sysrestore.py
+++ b/ipapython/sysrestore.py
@@ -276,7 +276,7 @@ class FileStore:
try:
os.unlink(backup_path)
- except Exception, e:
+ except Exception as e:
root_logger.error('Error removing %s: %s' % (backup_path, str(e)))
del self.files[filename]