Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
googletest
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Chen Yisong
googletest
Commits
24ecc348
Commit
24ecc348
authored
Aug 30, 2015
by
Billy Donahue
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #571 from srouquette/python3
Fix gmock_doctor.py for Python3
parents
60c85a40
ac830d6b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
gmock_doctor.py
googlemock/scripts/gmock_doctor.py
+7
-7
No files found.
googlemock/scripts/gmock_doctor.py
View file @
24ecc348
...
...
@@ -599,7 +599,7 @@ def main():
print
(
'Please copy and paste the compiler errors here. Press c-D when '
'you are done:'
)
else
:
print
'Waiting for compiler errors on stdin . . .'
print
(
'Waiting for compiler errors on stdin . . .'
)
msg
=
sys
.
stdin
.
read
()
.
strip
()
diagnoses
=
Diagnose
(
msg
)
...
...
@@ -617,18 +617,18 @@ If you send your source code and the compiler's error messages to
%
s, you can be helped and I can get smarter --
win-win for us!"""
%
(
msg
,
_EMAIL
))
else
:
print
'------------------------------------------------------------'
print
'Your code appears to have the following'
,
print
(
'------------------------------------------------------------'
)
print
(
'Your code appears to have the following'
,)
if
count
>
1
:
print
'
%
s diseases:'
%
(
count
,
)
print
(
'
%
s diseases:'
%
(
count
,)
)
else
:
print
'disease:'
print
(
'disease:'
)
i
=
0
for
d
in
diagnoses
:
i
+=
1
if
count
>
1
:
print
'
\n
#
%
s:'
%
(
i
,
)
print
d
print
(
'
\n
#
%
s:'
%
(
i
,)
)
print
(
d
)
print
(
"""
How did I do? If you think I'm wrong or unhelpful, please send your
source code and the compiler's error messages to
%
s.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment