Fix configparser import for python2

Change-Id: Icdd57c970119698455d928b5f5eb42d0c8f10b40
This commit is contained in:
Monty Taylor 2018-08-07 08:48:17 -05:00
parent af775c8f12
commit db532692d1
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 5 additions and 1 deletions

View File

@ -12,7 +12,11 @@
# implied.
# See the License for the specific language governing permissions and
# limitations under the License.
import configparser
try:
import configparser
except ImportError:
import ConfigParser as configparser
import contextlib
import logging
import os