diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-05-10 19:32:45 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-05-10 19:32:51 +0200 |
commit | 837c32ba7ff2a3aa566a3b8e1330e3db0b4841d8 (patch) | |
tree | becab82b67846625c68815aba91cd52eac3405b7 /lib/git/utils.py | |
parent | 63761f4cb6f3017c6076ecd826ed0addcfb03061 (diff) | |
download | gitpython-837c32ba7ff2a3aa566a3b8e1330e3db0b4841d8.tar.gz |
repo: added test with some basic assertions for empty repositories these
repo.is_dirty: Will not fail on empty repo ( anymore )
index.entries: will just be empty if the repository is empty
refs: added to_full_path method which can be used to create fully synthetic instances of Reference types, added a test for it
Converted all touched files to spaces, which is why git reports so many changed files. Actually I was thinking every file would use spaces, but apparently not
Diffstat (limited to 'lib/git/utils.py')
-rw-r--r-- | lib/git/utils.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/utils.py b/lib/git/utils.py index 15102fec..1fb58861 100644 --- a/lib/git/utils.py +++ b/lib/git/utils.py @@ -366,7 +366,7 @@ class IterableList(list): try: return getattr(self, index) except AttributeError: - raise IndexError( "No item found with id %r" % self._prefix + index ) + raise IndexError( "No item found with id %r" % (self._prefix + index) ) class Iterable(object): """ |