From 8dffba51b4fd88f7d26a43cf6d1fbbe3cdb9f44d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Thu, 9 Mar 2017 11:35:14 +0200 Subject: Spelling fixes --- git/index/base.py | 4 ++-- git/index/typ.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'git/index') diff --git a/git/index/base.py b/git/index/base.py index 80862882..4fee2aae 100644 --- a/git/index/base.py +++ b/git/index/base.py @@ -433,7 +433,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): try: proc.stdin.write(("%s\n" % filepath).encode(defenc)) except IOError: - # pipe broke, usually because some error happend + # pipe broke, usually because some error happened raise fmakeexc() # END write exception handling proc.stdin.flush() @@ -846,7 +846,7 @@ class IndexFile(LazyMixin, diff.Diffable, Serializable): :param working_tree: If True, the entry will also be removed from the working tree, physically - removing the respective file. This may fail if there are uncommited changes + removing the respective file. This may fail if there are uncommitted changes in it. :param kwargs: diff --git a/git/index/typ.py b/git/index/typ.py index 70f56dd1..2a7dd799 100644 --- a/git/index/typ.py +++ b/git/index/typ.py @@ -51,7 +51,7 @@ class BlobFilter(object): class BaseIndexEntry(tuple): """Small Brother of an index entry which can be created to describe changes - done to the index in which case plenty of additional information is not requried. + done to the index in which case plenty of additional information is not required. As the first 4 data members match exactly to the IndexEntry type, methods expecting a BaseIndexEntry can also handle full IndexEntries even if they -- cgit v1.2.3