]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
OrderedSet to appease the unit tests....need to find a way to get rid of this
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 25 Nov 2007 03:45:20 +0000 (03:45 +0000)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 25 Nov 2007 03:45:20 +0000 (03:45 +0000)
lib/sqlalchemy/sql/compiler.py
lib/sqlalchemy/sql/expression.py

index a31997d1b3303a5a2bf7fd35a694cf7afa6a8476..9b24dd5213dacfe89c64384fa970b3054c3ffcbc 100644 (file)
@@ -510,7 +510,7 @@ class DefaultCompiler(engine.Compiled):
                     whereclause = sql.and_(w, whereclause)
                 else:
                     whereclause = w
-
+                    
         if froms:
             text += " \nFROM "
             text += string.join(from_strings, ', ')
index 039145006ec39109ee270484019bde93e9ddd2e7..c21b102c72d0ae2531f65355428b358da826b806 100644 (file)
@@ -3015,7 +3015,7 @@ class Select(_SelectBaseMixin, FromClause):
         correlating.
         """
 
-        froms = util.Set()
+        froms = util.OrderedSet()
         hide_froms = util.Set()
 
         for col in self._raw_columns: