Changeset 599


Ignore:
Timestamp:
10/16/08 23:46:16 (5 years ago)
Author:
dgynn
Message:

count must be an int

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/oforgeplugin/share/cgi-bin/trac-profile.wsgi

    r595 r599  
    2626    args=parse_qs(environ['QUERY_STRING']) 
    2727    arg_sort=args.get('PROFILE_SORT',['time'])[0] 
    28     arg_count=args.get('PROFILE_COUNT',[20])[0] 
     28    arg_count=int(args.get('PROFILE_COUNT',[20])[0]) 
    2929 
    3030    print 'Timings for %s'%environ['REQUEST_URI'] 
Note: See TracChangeset for help on using the changeset viewer.