From: Warren Usui Date: Tue, 30 Jul 2013 16:50:20 +0000 (-0700) Subject: Remove now unnecessary try/except/raise that came about as a result of X-Git-Tag: 1.1.0~2018 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=bcf467c803b18e0225ef89e27fa585aca912258a;p=teuthology.git Remove now unnecessary try/except/raise that came about as a result of the previous check-in. Fixes: #5803 Signed-off-by: Warren Usui --- diff --git a/teuthology/task/install.py b/teuthology/task/install.py index fe5416330..3366b3de0 100644 --- a/teuthology/task/install.py +++ b/teuthology/task/install.py @@ -209,11 +209,8 @@ def _update_rpm_package_list_and_install(ctx, remote, rpm, config): for cpack in rpm: pk_err_mess = StringIO() pkg2add = "{cpack}{trailer}".format(cpack=cpack,trailer=trailer) - try: - remote.run(args=['sudo', 'yum', 'install', pkg2add, '-y',], - stderr=pk_err_mess) - except: - raise + remote.run(args=['sudo', 'yum', 'install', pkg2add, '-y',], + stderr=pk_err_mess) def purge_data(ctx): """