From ace451821e4c36857668262c8e099aec5c987005 Mon Sep 17 00:00:00 2001 From: Lucas Meneghel Rodrigues Date: Mon, 23 Jun 2014 14:16:04 -0400 Subject: [PATCH] avocado: Remove unused variables Signed-off-by: Lucas Meneghel Rodrigues --- avocado/utils/remote.py | 4 ++-- tests/linuxbuild/linuxbuild.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/avocado/utils/remote.py b/avocado/utils/remote.py index 7e3cd8b4..42378212 100644 --- a/avocado/utils/remote.py +++ b/avocado/utils/remote.py @@ -109,7 +109,7 @@ class Remote(object): try: fabric.operations.put(local_path, remote_path) - except ValueError as err: + except ValueError: return False return True @@ -124,6 +124,6 @@ class Remote(object): try: fabric.operations.get(remote_path, local_path) - except ValueError as err: + except ValueError: return False return True diff --git a/tests/linuxbuild/linuxbuild.py b/tests/linuxbuild/linuxbuild.py index 2d7e7cc3..6add2c03 100755 --- a/tests/linuxbuild/linuxbuild.py +++ b/tests/linuxbuild/linuxbuild.py @@ -29,7 +29,7 @@ class linuxbuild(test.Test): def setup(self): kernel_version = self.params.linux_version - config_path = tarball_path = self.get_deps_path('config') + config_path = self.get_deps_path('config') self.linux_build = kernel_build.KernelBuild(kernel_version, config_path, self.srcdir) -- GitLab