diff options
author | Guido Günther <agx@sigxcpu.org> | 2012-07-29 09:12:04 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2012-07-29 09:12:04 +0200 |
commit | 7a9f947d791a7ef891593ae6eef8356ec5fb0ed5 (patch) | |
tree | 23b594ea4ab6b5d47dbbee398867a73595597d2f | |
parent | cd829c9437d42f3223fbf51e22b795d2fcc33d00 (diff) |
GitModifier: use __getitem__ to fetch date
instead of accessing __dict__ directly which only has _date.
-rw-r--r-- | gbp/git/modifier.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/git/modifier.py b/gbp/git/modifier.py index ad5ee7a..a851f47 100644 --- a/gbp/git/modifier.py +++ b/gbp/git/modifier.py @@ -137,7 +137,7 @@ class GitModifier(object): def items(self): items = [] for key in self.keys(): - val = self.__dict__[key] + val = self.__getitem__(key) if val: items.append((key, val)) return items |