diff options
author | Cole Robinson <crobinso@redhat.com> | 2018-01-27 16:12:11 -0500 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-01-27 16:12:11 -0500 |
commit | 5e70cee128a658b14bcec58ff48758707b6e2b04 (patch) | |
tree | 0969cb97b5dc632f95c50261fa0f10cec815c0af | |
parent | ec8ee78d186d8c9607a8a8aaaaf63f4197eeed37 (diff) | |
download | virt-manager-5e70cee128a658b14bcec58ff48758707b6e2b04.tar.gz |
tests: urls: Fix pylint
-rw-r--r-- | tests/test_urls.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_urls.py b/tests/test_urls.py index 74d386ab..6fc09ce6 100644 --- a/tests/test_urls.py +++ b/tests/test_urls.py @@ -131,6 +131,7 @@ def _testURL(fetcher, distroobj): Test that our URL detection logic works for grabbing kernel, xen kernel, and boot.iso """ + distname = distroobj.name arch = distroobj.arch hvmguest.os.arch = arch xenguest.os.arch = arch @@ -216,8 +217,7 @@ def _testURLWrapper(distroobj): logging.debug("Testing for media arch=%s distroclass=%s", distroobj.arch, distroobj.distroclass) - distname = distroobj.name - sys.stdout.write("\nTesting %-25s " % distname) + sys.stdout.write("\nTesting %-25s " % distroobj.name) sys.stdout.flush() fetcher = urlfetcher.fetcherForURI(distroobj.url, "/tmp", meter) |