aboutsummaryrefslogtreecommitdiff
path: root/git/refs/tag.py
diff options
context:
space:
mode:
authorAntoine Musso <hashar@free.fr>2014-11-16 21:09:47 +0100
committerAntoine Musso <hashar@free.fr>2014-11-16 21:09:47 +0100
commitc8e70749887370a99adeda972cc3503397b5f9a7 (patch)
tree38e1241fd6d756f783b6b56dc6628ac3ca41ed4f /git/refs/tag.py
parentbed3b0989730cdc3f513884325f1447eb378aaee (diff)
downloadGitPython-c8e70749887370a99adeda972cc3503397b5f9a7.tar.gz
GitPython-c8e70749887370a99adeda972cc3503397b5f9a7.zip
pep8 linting (trailing whitespace)
W291 trailing whitespace
Diffstat (limited to 'git/refs/tag.py')
-rw-r--r--git/refs/tag.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/git/refs/tag.py b/git/refs/tag.py
index ff32224a..50d2b2af 100644
--- a/git/refs/tag.py
+++ b/git/refs/tag.py
@@ -5,8 +5,8 @@ __all__ = ["TagReference", "Tag"]
class TagReference(Reference):
- """Class representing a lightweight tag reference which either points to a commit
- ,a tag object or any other object. In the latter case additional information,
+ """Class representing a lightweight tag reference which either points to a commit
+ ,a tag object or any other object. In the latter case additional information,
like the signature or the tag-creator, is available.
This tag object will always point to a commit object, but may carray additional
@@ -30,12 +30,12 @@ class TagReference(Reference):
# it is a tag object which carries the commit as an object - we can point to anything
return obj.object
else:
- raise ValueError("Tag %s points to a Blob or Tree - have never seen that before" % self)
+ raise ValueError("Tag %s points to a Blob or Tree - have never seen that before" % self)
@property
def tag(self):
"""
- :return: Tag object this tag ref points to or None in case
+ :return: Tag object this tag ref points to or None in case
we are a light weight tag"""
obj = self.object
if obj.type == "tag":
@@ -51,15 +51,15 @@ class TagReference(Reference):
"""Create a new tag reference.
:param path:
- The name of the tag, i.e. 1.0 or releases/1.0.
+ The name of the tag, i.e. 1.0 or releases/1.0.
The prefix refs/tags is implied
:param ref:
- A reference to the object you want to tag. It can be a commit, tree or
+ A reference to the object you want to tag. It can be a commit, tree or
blob.
:param message:
- If not None, the message will be used in your tag object. This will also
+ If not None, the message will be used in your tag object. This will also
create an additional tag object that allows to obtain that information, i.e.::
tagref.tag.message