aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libbe/storage/vcs/git.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbe/storage/vcs/git.py b/libbe/storage/vcs/git.py
index 7cf4652..acdce15 100644
--- a/libbe/storage/vcs/git.py
+++ b/libbe/storage/vcs/git.py
@@ -36,10 +36,10 @@ except ImportError, error:
_pygit2 = None
_pygit2_import_error = error
else:
- if not hasattr(_pygit2, '__version__'):
+ if getattr(_pygit2, '__version__', '0.17.3') == '0.17.3':
_pygit2 = None
_pygit2_import_error = NotImplementedError(
- 'pygit2 <= 0.17.2 not supported')
+ 'pygit2 <= 0.17.3 not supported')
import libbe
from ...ui.util import user as _user