Django

Code

Changeset 7901

Show
Ignore:
Timestamp:
07/12/08 06:01:57 (6 months ago)
Author:
mtredinnick
Message:

Fixed a bozo bug from [7885]. Fixed #7698.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/db/models/sql/query.py

    r7886 r7901  
    287287            if self.high_mark is not None: 
    288288                result.append('LIMIT %d' % (self.high_mark - self.low_mark)) 
    289             if self.low_mark is not None
     289            if self.low_mark
    290290                if self.high_mark is None: 
    291291                    val = self.connection.ops.no_limit_value()