diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2010-10-28 18:00:55 -0500 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2010-11-02 20:35:19 -0500 |
commit | b93a686ac42e56b6d7c27d1dd15b162cf3a56886 (patch) | |
tree | e3969bb30a105e5bd28dec5a428cd2d20b177639 | |
parent | 313afd64879e1d7c860012c0b7d5430d100eaf41 (diff) | |
download | bcfg2-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>
-rw-r--r-- | src/lib/Client/Tools/Pacman.py | 2 |
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) |