From 7295698fde25bbf3cfed17a8d418870a0b796639 Mon Sep 17 00:00:00 2001 From: mmkmmk57 Date: Fri, 15 Sep 2017 15:05:43 +0900 Subject: [PATCH] Fix verbose grammar Fix verbose grammar about "import as." Change-Id: If7841e177c47b00a52fd4638a21295e14ebc110f --- tools/generate-tempest-plugins-list.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/generate-tempest-plugins-list.py b/tools/generate-tempest-plugins-list.py index 99df0d1207..dd05438785 100644 --- a/tools/generate-tempest-plugins-list.py +++ b/tools/generate-tempest-plugins-list.py @@ -28,12 +28,12 @@ import re try: # For Python 3.0 and later - from urllib.error import HTTPError as HTTPError + from urllib.error import HTTPError import urllib.request as urllib except ImportError: # Fall back to Python 2's urllib2 import urllib2 as urllib - from urllib2 import HTTPError as HTTPError + from urllib2 import HTTPError url = 'https://review.openstack.org/projects/'