You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/03/07 18:47:38 UTC
[1/3] git commit: [#5854] Fixed TypeError on bad LCD data
[#5854] Fixed TypeError on bad LCD data
Signed-off-by: Cory Johns <jo...@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/4e1b4501
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/4e1b4501
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/4e1b4501
Branch: refs/heads/master
Commit: 4e1b45015bdb14ca30ee6151b67599862781cf8d
Parents: a997dbd
Author: Cory Johns <jo...@geek.net>
Authored: Thu Mar 7 15:30:36 2013 +0000
Committer: Dave Brondsema <db...@geek.net>
Committed: Thu Mar 7 17:47:23 2013 +0000
----------------------------------------------------------------------
Allura/allura/model/repo.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/4e1b4501/Allura/allura/model/repo.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/repo.py b/Allura/allura/model/repo.py
index 767b144..3df5f59 100644
--- a/Allura/allura/model/repo.py
+++ b/Allura/allura/model/repo.py
@@ -553,7 +553,7 @@ class Tree(RepoObject):
author=commit_info['author'],
author_email=commit_info['author_email'],
author_url=commit_info['author_url'],
- date=commit_info['date'],
+ date=commit_info.get('date'),
href=commit_info.get('href',''),
shortlink=commit_info['shortlink'],
summary=commit_info['summary'],