summaryrefslogtreecommitdiffstats
path: root/src/lib/Server/Plugins/Svn2.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Server/Plugins/Svn2.py')
-rw-r--r--src/lib/Server/Plugins/Svn2.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Server/Plugins/Svn2.py b/src/lib/Server/Plugins/Svn2.py
index b8a8e6b7e..e189748b1 100644
--- a/src/lib/Server/Plugins/Svn2.py
+++ b/src/lib/Server/Plugins/Svn2.py
@@ -72,7 +72,7 @@ class Svn2(Bcfg2.Server.Plugin.Plugin,
self.revision = self.client.update(self.datastore, recurse=True)[0]
self.logger.info("Svn2: Commited changes. At %s" %
self.revision.number)
- except Exception, err:
+ except Exception as err:
# try to be smart about the error we got back
details = None
if "callback_ssl_server_trust_prompt" in str(err):
@@ -92,7 +92,7 @@ class Svn2(Bcfg2.Server.Plugin.Plugin,
try:
old_revision = self.revision.number
self.revision = self.client.update(self.datastore, recurse=True)[0]
- except Exception, err:
+ except Exception as err:
# try to be smart about the error we got back
details = None
if "callback_ssl_server_trust_prompt" in str(err):