Changeset 3821
- Timestamp:
- 06/11/08 02:18:42 (5 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
ticketmodifiedfilesplugin/0.11/setup.py
r3815 r3821 4 4 name='TicketModifiedFiles', 5 5 description='Trac plugin that lists the files that have been modified while resolving a ticket', 6 version='0. 4',6 version='0.5', 7 7 license='BSD', 8 8 author='Emilien Klein', ticketmodifiedfilesplugin/0.11/ticketmodifiedfiles/ticketmodifiedfiles.py
r3815 r3821 135 135 #Get the last status of each file 136 136 for file in files: 137 cursor.execute("SELECT change_type FROM node_change WHERE path='" + file + "' ORDER BY revDESC LIMIT 1")137 cursor.execute("SELECT change_type FROM node_change WHERE path='" + file + "' ORDER BY CAST(rev as integer) DESC LIMIT 1") 138 138 for change_type, in cursor: 139 139 filestatus[file] = change_type
