Fix warning message with double "to"

Fix warning message:
One "to" is enough, also improve sentence with adding "file".

Change-Id: I69b1f9f30ac51a5d34eec78ceda8fdd9405a6ff1
This commit is contained in:
Andreas Jaeger 2019-05-24 21:54:41 +02:00 committed by Andreas Jaeger
parent 5674bb0f7c
commit 70f183c052
1 changed files with 2 additions and 2 deletions

View File

@ -144,8 +144,8 @@ def call_testr(regex, subunit, pretty, list_tests, slowest, parallel, concur,
group_regex = None
if not os.path.isfile('.stestr.conf') and os.path.isfile('.testr.conf'):
msg = ('No .stestr.conf file found in the CWD. Please create one to '
'to replace the .testr.conf. You can find a script to do this '
'in the stestr git repository.')
'replace the .testr.conf file. You can find a script to do '
'this in the stestr git repository.')
warnings.warn(msg)
test_dir, top_dir, group_regex = _parse_testrconf()