Browse Source

Merge "Fixed "pip-install" test"

Zuul 9 months ago
parent
commit
27762cda83
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      tools/check-install.py

+ 3
- 2
tools/check-install.py View File

@@ -2,16 +2,17 @@
2 2
 
3 3
 from __future__ import print_function
4 4
 
5
-import ConfigParser
6 5
 import importlib
7 6
 import re
8 7
 import sys
9 8
 
9
+import six.moves.configparser as configparser
10
+
10 11
 
11 12
 def main():
12 13
     errors = 0
13 14
     pattern = re.compile('^(.*?)\s*=\s*([^:]*?):.*$')
14
-    config = ConfigParser.ConfigParser()
15
+    config = configparser.ConfigParser()
15 16
     config.read('setup.cfg')
16 17
     console_scripts = config.get('entry_points', 'console_scripts')
17 18
     for script in console_scripts.split('\n'):

Loading…
Cancel
Save