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/06/06 19:49:06 UTC

[8/9] git commit: [#6325] Added correct attribution for toposort

[#6325] Added correct attribution for toposort

Signed-off-by: Cory Johns <cj...@slashdotmedia.com>


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

Branch: refs/heads/master
Commit: f67aaa2ab9c80287631b2bce3de218e56a406153
Parents: 33f6673
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Tue Jun 4 20:52:26 2013 +0000
Committer: Cory Johns <cj...@slashdotmedia.com>
Committed: Tue Jun 4 20:52:26 2013 +0000

----------------------------------------------------------------------
 Allura/allura/lib/helpers.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/f67aaa2a/Allura/allura/lib/helpers.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/helpers.py b/Allura/allura/lib/helpers.py
index 6c0a863..9f87115 100644
--- a/Allura/allura/lib/helpers.py
+++ b/Allura/allura/lib/helpers.py
@@ -737,6 +737,7 @@ def topological_sort(items, partial_order):
 
        Modified from: http://www.bitformation.com/art/python_toposort.html
     """
+    # Original topological sort code written by Ofer Faigon (www.bitformation.com) and used with permission
 
     def add_arc(graph, fromnode, tonode):
         """Add an arc to a graph. Can create multiple arcs.