incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [24/42] git commit: [#4691] Removed extraneous code
Date Tue, 05 Feb 2013 20:23:35 GMT
[#4691] Removed extraneous code

Signed-off-by: Cory Johns <johnsca@geek.net>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/8555546f
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/8555546f
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/8555546f

Branch: refs/heads/master
Commit: 8555546f45c850796db02756d319d27f481c07da
Parents: df33a3d
Author: Cory Johns <johnsca@geek.net>
Authored: Tue Dec 11 21:13:23 2012 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Tue Feb 5 20:22:51 2013 +0000

----------------------------------------------------------------------
 Allura/allura/model/repo.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/8555546f/Allura/allura/model/repo.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/repo.py b/Allura/allura/model/repo.py
index 67f3f02..67c016d 100644
--- a/Allura/allura/model/repo.py
+++ b/Allura/allura/model/repo.py
@@ -220,8 +220,7 @@ class Commit(RepoObject):
         '''
         Returns a generator that walks up the commit tree along
         the first-parent ancestory, starting with this commit.'''
-        yield self
-        ancestor = self.get_parent()
+        ancestor = self
         while ancestor:
             yield ancestor
             ancestor = ancestor.get_parent()


Mime
View raw message