summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2010-10-28 18:00:55 -0500
committerSol Jerome <sol.jerome@gmail.com>2010-10-28 18:00:55 -0500
commited7386814afdf3ca70bb9454ab7fb09a664e1657 (patch)
treeff7193e17243f24e75ef07d6932c4c35d4c92ba4
parenta44304d3fcb3fa4ec186e7ebbeb4d4e72f25e9de (diff)
downloadbcfg2-ed7386814afdf3ca70bb9454ab7fb09a664e1657.tar.gz
bcfg2-ed7386814afdf3ca70bb9454ab7fb09a664e1657.tar.bz2
bcfg2-ed7386814afdf3ca70bb9454ab7fb09a664e1657.zip
Pacman: Fix traceback for exception handler
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
-rw-r--r--src/lib/Client/Tools/Pacman.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/Pacman.py b/src/lib/Client/Tools/Pacman.py
index 85068ddfc..be3fb0c94 100644
--- a/src/lib/Client/Tools/Pacman.py
+++ b/src/lib/Client/Tools/Pacman.py
@@ -78,5 +78,5 @@ class Pacman(Bcfg2.Client.Tools.PkgTool):
try:
self.logger.debug("Running : %s -S %s" % (self.pkgtool, pkgline))
self.cmd.run("%s -S %s" % (self.pkgtool, pkgline))
- except Exception as e:
+ except Exception, e:
self.logger.error("Error occurred during installation: %s" % e)