diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-09-29 23:46:57 +0000 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2006-09-29 23:46:57 +0000 |
| commit | bd13d4ed2eb686c881530bef0e6009bf8fea1cc9 (patch) | |
| tree | 16e61399df4359a8600665fc2401782d143779b3 /lib/sqlalchemy/orm/unitofwork.py | |
| parent | a5f2a617da5f24358471770b40eb1518f80bb176 (diff) | |
| download | sqlalchemy-bd13d4ed2eb686c881530bef0e6009bf8fea1cc9.tar.gz | |
- added some dependency logging
- moved the ClauseSynchronizer compile from properties to dependency where its used
Diffstat (limited to 'lib/sqlalchemy/orm/unitofwork.py')
| -rw-r--r-- | lib/sqlalchemy/orm/unitofwork.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/sqlalchemy/orm/unitofwork.py b/lib/sqlalchemy/orm/unitofwork.py index 008236877..68dfc3fbb 100644 --- a/lib/sqlalchemy/orm/unitofwork.py +++ b/lib/sqlalchemy/orm/unitofwork.py @@ -377,9 +377,7 @@ class UOWTransaction(object): mappers = self._get_noninheriting_mappers() head = DependencySorter(self.dependencies, list(mappers)).sort(allow_all_cycles=True) - #print "-------------------------" - #print str(head) - #print "---------------------------" + self.logger.debug("Dependency sort:\n"+ str(head)) task = sort_hier(head) return task @@ -722,7 +720,7 @@ class UOWTask(object): #print "BEGIN CIRC SORT-------" #print "PRE-CIRC:" - #print list(cycles)[0].dump() + #print list(cycles) #[0].dump() # dependency processors that arent part of the cyclical thing # get put here |
