diff options
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/git/util.py b/git/util.py index d00de1e4..3dd12d39 100644 --- a/git/util.py +++ b/git/util.py @@ -232,7 +232,7 @@ class RemoteProgress(object): sub_lines = line.split('\r') failed_lines = list() for sline in sub_lines: - # find esacpe characters and cut them away - regex will not work with + # find escape characters and cut them away - regex will not work with # them as they are non-ascii. As git might expect a tty, it will send them last_valid_index = None for i, c in enumerate(reversed(sline)): @@ -527,7 +527,7 @@ class IndexFileSHA1Writer(object): """Wrapper around a file-like object that remembers the SHA1 of the data written to it. It will write a sha when the stream is closed - or if the asked for explicitly usign write_sha. + or if the asked for explicitly using write_sha. Only useful to the indexfile @@ -657,7 +657,7 @@ class BlockingLockFile(LockFile): super(BlockingLockFile, self)._obtain_lock() except IOError: # synity check: if the directory leading to the lockfile is not - # readable anymore, raise an execption + # readable anymore, raise an exception curtime = time.time() if not os.path.isdir(os.path.dirname(self._lock_file_path())): msg = "Directory containing the lockfile %r was not readable anymore after waiting %g seconds" % ( @@ -701,7 +701,7 @@ class IterableList(list): self._prefix = prefix def __contains__(self, attr): - # first try identy match for performance + # first try identity match for performance rval = list.__contains__(self, attr) if rval: return rval |