From b00f3689aa19938c10576580fbfc9243d9f3866c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steve=20Fr=C3=A9cinaux?= Date: Tue, 16 Sep 2008 08:08:47 +0200 Subject: 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. --- lib/git/tag.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/git/tag.py') diff --git a/lib/git/tag.py b/lib/git/tag.py index f54b7661..e780d2ba 100644 --- a/lib/git/tag.py +++ b/lib/git/tag.py @@ -18,7 +18,7 @@ class Tag(object): is the Commit that the head points to Returns - ``GitPython.Tag`` + ``git.Tag`` """ self.name = name self.commit = commit @@ -35,7 +35,7 @@ class Tag(object): is a dict of options Returns - ``GitPython.Tag[]`` + ``git.Tag[]`` """ options = {'sort': "committerdate", 'format': "%(refname)%00%(objectname)"} @@ -56,7 +56,7 @@ class Tag(object): is the text output from the git command Returns - ``GitPython.Tag[]`` + ``git.Tag[]`` """ tags = [] for line in text.splitlines(): @@ -80,7 +80,7 @@ class Tag(object): id: [0-9A-Fa-f]{40} Returns - ``GitPython.Tag`` + ``git.Tag`` """ full_name, ids = line.split("\x00") name = full_name.split("/")[-1] @@ -88,4 +88,4 @@ class Tag(object): return Tag(name, commit) def __repr__(self): - return '' % self.name + return '' % self.name -- cgit v1.2.3