Django

Code

Changeset 5426

Show
Ignore:
Timestamp:
06/04/07 16:32:45 (2 years ago)
Author:
bouldersprinters
Message:

boulder-oracle-sprint: Re-added tuple parens that got lost.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/branches/boulder-oracle-sprint/django/core/management.py

    r5423 r5426  
    367367                    r_table = model._meta.db_table 
    368368                    r_col = model._meta.get_field(f.rel.field_name).column 
    369                     r_name = '%s_refs_%s_%x' % (col, r_col, abs(hash(table, r_table))) 
     369                    r_name = '%s_refs_%s_%x' % (col, r_col, abs(hash((table, r_table)))) 
    370370                    output.append('%s %s %s %s;' % \ 
    371371                        (style.SQL_KEYWORD('ALTER TABLE'),