Mercurial > p > roundup > code
comparison roundup/backends/back_gadfly.py @ 1516:c8a596aa5aba maint-0.5
fixed rdbms table update detection logic [SF#703297]
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Fri, 14 Mar 2003 02:52:03 +0000 |
| parents | 8fd1ad93f920 |
| children |
comparison
equal
deleted
inserted
replaced
| 1511:9e8ff9784a5f | 1516:c8a596aa5aba |
|---|---|
| 1 # $Id: back_gadfly.py,v 1.31.2.2 2003-03-09 21:44:15 richard Exp $ | 1 # $Id: back_gadfly.py,v 1.31.2.3 2003-03-14 02:52:03 richard Exp $ |
| 2 ''' Gadlfy relational database hypderb backend. | 2 ''' Gadlfy relational database hypderb backend. |
| 3 | 3 |
| 4 About Gadfly | 4 About Gadfly |
| 5 ============ | 5 ============ |
| 6 | 6 |
| 152 ''' | 152 ''' |
| 153 new_spec = spec | 153 new_spec = spec |
| 154 new_has = new_spec.properties.has_key | 154 new_has = new_spec.properties.has_key |
| 155 | 155 |
| 156 new_spec = new_spec.schema() | 156 new_spec = new_spec.schema() |
| 157 new_spec[1].sort() | |
| 158 old_spec[1].sort() | |
| 157 if new_spec == old_spec: | 159 if new_spec == old_spec: |
| 158 # no changes | 160 # no changes |
| 159 return 0 | 161 return 0 |
| 160 | 162 |
| 161 if __debug__: | 163 if __debug__: |
