diff options
Diffstat (limited to 'git/index/base.py')
-rw-r--r-- | git/index/base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/index/base.py b/git/index/base.py index 82df361f..6656d940 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -137,7 +137,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): # which happens during read-tree. # In this case, we will just read the memory in directly. # Its insanely bad ... I am disappointed ! - allow_mmap = (is_win() or sys.version_info[1] > 5) + allow_mmap = (is_win or sys.version_info[1] > 5) stream = file_contents_ro(fd, stream=True, allow_mmap=allow_mmap) try: |