Skip to content

Commit

Permalink
Remove six usage from testr_to_stestr
Browse files Browse the repository at this point in the history
  • Loading branch information
mtreinish committed Mar 18, 2020
1 parent 5f34f10 commit e6ce637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/testr_to_stestr.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
# See the License for the specific language governing permissions and
# limitations under the License.

import configparser
import os
import sys

import six

if not os.path.isfile('.testr.conf'):
sys.exit("Testr config file not found")

with open('.testr.conf', 'r') as testr_conf_file:
config = six.moves.configparser.ConfigParser()
config = configparser.ConfigParser()
config.readfp(testr_conf_file)

test_command = config.get('DEFAULT', 'test_command')
Expand Down

0 comments on commit e6ce637

Please sign in to comment.