Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix errors of AttributeError: 'str' object has no attribute 'stdout' #826

Merged
merged 5 commits into from
Feb 1, 2024

Conversation

mlzoo
Copy link
Contributor

@mlzoo mlzoo commented Dec 6, 2023

the class type of gitlog and gitdiff is str.
So, gitlog.stdout.decode("utf-8") or gitdiff.stdout.decode("utf-8") will cause following errors :

AttributeError: 'str' object has no attribute 'stdout'

mlzoo added 2 commits December 6, 2023 17:59
Fix errors of stdout
fix errors of stdout
@mrwyattii mrwyattii merged commit 19e0efb into microsoft:master Feb 1, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants