Minor fixes for trsync
Change-Id: Ib52fcd231076f913c21b1f9b5aaa89664aff02a3
diff --git a/trsync.py b/trsync.py
index ba4ef04..49edd26 100644
--- a/trsync.py
+++ b/trsync.py
@@ -1,7 +1,6 @@
#-*- coding: utf-8 -*-
import datetime
-import os
import utils
@@ -104,8 +103,7 @@
self._remove_old_snapshots(repo_name)
transaction.append('old_snapshots_deleted')
- except RuntimeError as e:
- #self.logger.error(e.message)
+ except RuntimeError:
# deleting of old snapshots ignored when assessing the transaction
# only warning
if 'old_snapshots_deleted' not in transaction: