summaryrefslogtreecommitdiffstats
path: root/src/lib/Client/Tools/Pacman.py
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-11-02 20:35:19 -0500
commitb93a686ac42e56b6d7c27d1dd15b162cf3a56886 (patch)
treee3969bb30a105e5bd28dec5a428cd2d20b177639 /src/lib/Client/Tools/Pacman.py
parent313afd64879e1d7c860012c0b7d5430d100eaf41 (diff)
downloadbcfg2-b93a686ac42e56b6d7c27d1dd15b162cf3a56886.tar.gz
bcfg2-b93a686ac42e56b6d7c27d1dd15b162cf3a56886.tar.bz2
bcfg2-b93a686ac42e56b6d7c27d1dd15b162cf3a56886.zip
Pacman: Fix traceback for exception handler
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'src/lib/Client/Tools/Pacman.py')
-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)