]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
remove prints
authorMike Bayer <mike_mp@zzzcomputing.com>
Tue, 6 Apr 2010 05:42:58 +0000 (01:42 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Tue, 6 Apr 2010 05:42:58 +0000 (01:42 -0400)
lib/sqlalchemy/orm/unitofwork.py
lib/sqlalchemy/topological.py

index 088c71b6e53576b09c54cc18ec6bcc0ec04c0d65..b4258a58ef8d2e797b25ae13e603c7855f3ca070 100644 (file)
@@ -230,12 +230,12 @@ class UOWTransaction(object):
                     n = set_.pop()
                     n.execute_aggregate(self, set_)
         else:
-            r = list(topological.sort(
-                                    self.dependencies, 
-                                    postsort_actions))
-            print "-----------"
-            print self.dependencies
-            print r
+            #r = list(topological.sort(
+            #                        self.dependencies, 
+            #                        postsort_actions))
+            #print "-----------"
+            #print self.dependencies
+            #print r
             for rec in topological.sort(
                                     self.dependencies, 
                                     postsort_actions):
index 2ae631fb592f7c1152be1a68fe98a81183971615..603bb055b5a1a92270b2624fd14dd2ae81541f70 100644 (file)
@@ -4,19 +4,7 @@
 # This module is part of SQLAlchemy and is released under
 # the MIT License: http://www.opensource.org/licenses/mit-license.php
 
-"""Topological sorting algorithms.
-
-The topological sort is an algorithm that receives this list of
-dependencies as a *partial ordering*, that is a list of pairs which
-might say, *X is dependent on Y*, *Q is dependent on Z*, but does not
-necessarily tell you anything about Q being dependent on X. Therefore,
-its not a straight sort where every element can be compared to
-another... only some of the elements have any sorting preference, and
-then only towards just some of the other elements.  For a particular
-partial ordering, there can be many possible sorts that satisfy the
-conditions.
-
-"""
+"""Topological sorting algorithms."""
 
 from sqlalchemy.exc import CircularDependencyError
 from sqlalchemy import util