comparison rhodecode/lib/vcs/backends/git/changeset.py @ 3492:0065f7fe60f6 beta

fix spelling of committer
author Mads Kiilerich <madski@unity3d.com>
date Wed, 06 Mar 2013 19:54:36 +0100
parents fe2bb88bf7ac
children 58905069da21
comparison
equal deleted inserted replaced
3491:bdb997400835 3492:0065f7fe60f6
39 self.id = self.raw_id 39 self.id = self.raw_id
40 self.short_id = self.raw_id[:12] 40 self.short_id = self.raw_id[:12]
41 self._commit = commit 41 self._commit = commit
42 42
43 self._tree_id = commit.tree 43 self._tree_id = commit.tree
44 self._commiter_property = 'committer' 44 self._committer_property = 'committer'
45 self._author_property = 'author' 45 self._author_property = 'author'
46 self._date_property = 'commit_time' 46 self._date_property = 'commit_time'
47 self._date_tz_property = 'commit_timezone' 47 self._date_tz_property = 'commit_timezone'
48 self.revision = repository.revisions.index(revision) 48 self.revision = repository.revisions.index(revision)
49 49
51 51
52 self.nodes = {} 52 self.nodes = {}
53 self._paths = {} 53 self._paths = {}
54 54
55 @LazyProperty 55 @LazyProperty
56 def commiter(self): 56 def committer(self):
57 return safe_unicode(getattr(self._commit, self._commiter_property)) 57 return safe_unicode(getattr(self._commit, self._committer_property))
58 58
59 @LazyProperty 59 @LazyProperty
60 def author(self): 60 def author(self):
61 return safe_unicode(getattr(self._commit, self._author_property)) 61 return safe_unicode(getattr(self._commit, self._author_property))
62 62