Contact: fumanchu@aminus.org

Log in as guest/geniusql to create tickets

Changeset 123

Show
Ignore:
Timestamp:
08/07/07 15:13:01
Author:
fumanchu
Message:

Cosmetics.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/ast/geniusql/deparse.py

    r122 r123  
    189189        try: 
    190190            result = self.walk(root) 
    191         # After walk(), product should be a single string, 
    192         # which is the SQL representation of our Expression. 
     191            # After walk(), the result should be a single string, 
     192            # which is the SQL representation of our Expression. 
    193193        except CannotRepresent: 
    194194            # The entire expression could not be evaluated. 
  • branches/ast/geniusql/select.py

    r122 r123  
    305305            colkey = '%s_%s' % (table.schema.key_for(table), colkey) 
    306306            colname = '%s_%s' % (table.name, colname) 
    307             colqname = table.schema.db.quote(colname) 
     307            colqname = self.db.quote(colname) 
    308308            selname = '%s AS %s' % (selname, colqname) 
    309309        self.input_list.append(selname)