Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix exception on import in MacOS#763

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
Byron merged 1 commit intogitpython-developers:masterfromterminalmage:issue762
Jun 5, 2018

Conversation

terminalmage
Copy link
Contributor

This is related to my fix in#658. Apparently, MacOS adds a git executable that is just a stub which displays an error. This gets past the try/except I added in#658, and allows all of the GitPython components to be imported, but since the executable is notactually git, it results in an exception whenrefresh() attemepts to run agit version.

Fixes#762.

This is related to my fix ingitpython-developers#658. Apparently, MacOS adds a gitexecutable that is just a stub which displays an error. This gets pastthe try/except I added ingitpython-developers#658, and allows all of the GitPythoncomponents to be imported, but since the executable is not *actually*git, it results in an exception when ``refresh()`` attemepts to run a``git version``.
@Byron
Copy link
Member

Please apologize the late merge, and thanks a lot for this improvement! It's much appreciated!

@ByronByron added this to thev2.1.11 - Bugfixes milestoneJun 5, 2018
@ByronByron merged commitce5dfe7 intogitpython-developers:masterJun 5, 2018
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Failed import raises non-ImportError exception on MacOS
2 participants
@terminalmage@Byron

[8]ページ先頭

©2009-2025 Movatter.jp