Edgewall Software

Changes between Initial Version and Version 1 of Ticket #9536, comment 8


Ignore:
Timestamp:
Sep 14, 2010, 9:21:19 PM (14 years ago)
Author:
Christian Boos

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9536, comment 8

    initial v1  
    3535        with self.env.db_query as db:
    3636            for realm, id, filename, ts, description, author in db.execute("""
    37                 SELECT type, id, filename, time, description, author
    38                 FROM attachment
    39                 WHERE time > %s AND time < %s AND type = %s
    40                 """, (to_utimestamp(start), to_utimestamp(stop), realm)):
     37                    SELECT type, id, filename, time, description, author
     38                    FROM attachment
     39                    WHERE time > %s AND time < %s AND type = %s
     40                    """, (to_utimestamp(start), to_utimestamp(stop), realm)):
    4141                time = from_utimestamp(ts)
    4242                ...