summaryrefslogtreecommitdiff
path: root/lib/git/blob.py
diff options
context:
space:
mode:
authorSteve Frécinaux <code@istique.net>2008-09-16 08:08:47 +0200
committerSteve Frécinaux <code@istique.net>2008-09-17 08:08:09 +0200
commitb00f3689aa19938c10576580fbfc9243d9f3866c (patch)
treec9575089d08f9c1f701c7fdb5305b38142131975 /lib/git/blob.py
parent5de63b40dbb8fef7f2f46e42732081ef6d0d8866 (diff)
downloadgitpython-b00f3689aa19938c10576580fbfc9243d9f3866c.tar.gz
Replace GitPython with git in repr() outputs.
The imported module is called git (as in "import git"), so it's less confusing to do so than to call everything GitPython.something.
Diffstat (limited to 'lib/git/blob.py')
-rw-r--r--lib/git/blob.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/git/blob.py b/lib/git/blob.py
index 80d237d7..a79cd81c 100644
--- a/lib/git/blob.py
+++ b/lib/git/blob.py
@@ -31,7 +31,7 @@ class Blob(object):
is the file name
Returns
- GitPython.Blob
+ git.Blob
"""
self.repo = repo
self.id = id
@@ -87,7 +87,7 @@ class Blob(object):
The blame information for the given file at the given commit
Returns
- list: [GitPython.Commit, list: [<line>]]
+ list: [git.Commit, list: [<line>]]
"""
data = repo.git.blame(commit, '--', file, p=True)
commits = {}
@@ -141,4 +141,4 @@ class Blob(object):
return blames
def __repr__(self):
- return '<GitPython.Blob "%s">' % self.id
+ return '<git.Blob "%s">' % self.id