From 8f80a6fd9765b3b902b2ea956cf7b93c70488ba9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lorenz=20H=C3=BCdepohl?= <lorenz.huedepohl@rzg.mpg.de> Date: Tue, 6 Feb 2018 12:11:47 +0100 Subject: [PATCH] Remove unused variable --- mpcdf_push.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpcdf_push.py b/mpcdf_push.py index 7c369ce..ba5cf1c 100644 --- a/mpcdf_push.py +++ b/mpcdf_push.py @@ -68,7 +68,7 @@ def do_mpcdf_push(self, subcmd, opts, *args): for attribute in package_attributes: try: attr = mpcdf_common.get_attribute(api_url, from_project, package, attribute) - except Exception as e: + except Exception: continue mpcdf_common.set_attribute(api_url, (to_project, package), attr) -- GitLab