Learn more about these different git repos.
Other Git URLs
1d1c9e2
@@ -19,7 +19,11 @@
import six
import pygit2
- import _pygit2
+
+ try:
+ import _pygit2
+ except ImportError:
+ from pygit2 import _pygit2
real_pygit2_repository = pygit2.Repository
The method for importing _pygit2 has changed. This patch attempts both the new and old methods.
https://github.com/libgit2/pygit2/blob/master/CHANGELOG.rst#110-2020-03-01
This patch resolves issues on Fedora 32.
:thumbsup:
Cool, thanks!
Pull-Request has been merged by pingou
The method for importing _pygit2 has changed. This patch attempts both the new and old methods.
https://github.com/libgit2/pygit2/blob/master/CHANGELOG.rst#110-2020-03-01
This patch resolves issues on Fedora 32.