diff options
| author | Sebastian Thiel <byronimo@gmail.com> | 2010-11-18 23:11:32 +0100 |
|---|---|---|
| committer | Sebastian Thiel <byronimo@gmail.com> | 2010-11-18 23:11:32 +0100 |
| commit | f1545bd9cd6953c5b39c488bf7fe179676060499 (patch) | |
| tree | 8bd4b8829768fe0195d41a3aa067aa1ac7435605 /lib/git/objects/tag.py | |
| parent | a1d1d2cb421f16bd277d7c4ce88398ff0f5afb29 (diff) | |
| parent | 7cf2d5fcf0a3db793678dd6ba9fc1c24d4eeb36a (diff) | |
| download | GitPython-f1545bd9cd6953c5b39c488bf7fe179676060499.tar.gz GitPython-f1545bd9cd6953c5b39c488bf7fe179676060499.zip | |
Merge branch 'submodule'
Diffstat (limited to 'lib/git/objects/tag.py')
| -rw-r--r-- | lib/git/objects/tag.py | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/git/objects/tag.py b/lib/git/objects/tag.py index ea480fc2..c7d02abe 100644 --- a/lib/git/objects/tag.py +++ b/lib/git/objects/tag.py @@ -33,7 +33,18 @@ class TagObject(base.Object): :param tagged_tz_offset: int_seconds_west_of_utc is the timezone that the authored_date is in, in a format similar to time.altzone""" super(TagObject, self).__init__(repo, binsha ) - self._set_self_from_args_(locals()) + if object is not None: + self.object = object + if tag is not None: + self.tag = tag + if tagger is not None: + self.tagger = tagger + if tagged_date is not None: + self.tagged_date = tagged_date + if tagger_tz_offset is not None: + self.tagger_tz_offset = tagger_tz_offset + if message is not None: + self.message = message def _set_cache_(self, attr): """Cache all our attributes at once""" |
