Fix configparser import for python2
Change-Id: Icdd57c970119698455d928b5f5eb42d0c8f10b40
This commit is contained in:
parent
af775c8f12
commit
db532692d1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue