diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-06-06 14:57:56 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-06-06 14:57:56 +0200 |
commit | 01c47d9f3366a1535fbd50bd7be8f4e51f3f3b4b (patch) | |
tree | dde07e4d8892df69fce88a8bc556afe9edc7a0aa /tests/unittests | |
parent | 1210eee8d6bd70817df10f2865af10c13553102b (diff) | |
download | vyos-cloud-init-01c47d9f3366a1535fbd50bd7be8f4e51f3f3b4b.tar.gz vyos-cloud-init-01c47d9f3366a1535fbd50bd7be8f4e51f3f3b4b.zip |
apt_src_keyid_real: drop unused exception variable
Diffstat (limited to 'tests/unittests')
-rw-r--r-- | tests/unittests/test_handler/test_handler_apt_source.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unittests/test_handler/test_handler_apt_source.py b/tests/unittests/test_handler/test_handler_apt_source.py index a184e7de..0b2aa9e5 100644 --- a/tests/unittests/test_handler/test_handler_apt_source.py +++ b/tests/unittests/test_handler/test_handler_apt_source.py @@ -461,7 +461,7 @@ class TestAptSourceConfig(TestCase): """try original gpg_recv_key, but allow fall back""" try: self.orig_gpg_recv_key(key, keyserver) - except ValueError as error: + except ValueError: # if this is a networking issue mock it's effect testsock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) try: |