Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e3bc5d1 + 2a0305b commit 80ea0f5Copy full SHA for 80ea0f5
git/__init__.py
@@ -56,8 +56,8 @@ def _init_externals() -> None:
56
Actor,
57
rmtree,
58
)
59
-except GitError as exc:
60
- raise ImportError("%s: %s" % (exc.__class__.__name__, exc)) from exc
+except GitError as _exc:
+ raise ImportError("%s: %s" % (_exc.__class__.__name__, _exc)) from _exc
61
62
# } END imports
63
@@ -87,6 +87,6 @@ def refresh(path: Optional[PathLike] = None) -> None:
87
#################
88
try:
89
refresh()
90
-except Exception as exc:
91
- raise ImportError("Failed to initialize: {0}".format(exc)) from exc
+except Exception as _exc:
+ raise ImportError("Failed to initialize: {0}".format(_exc)) from _exc
92
0 commit comments