Changeset 1345


Ignore:
Timestamp:
02/06/07 16:11:21 (6 years ago)
Author:
ckb6
Message:

Reversed the direction of the sort of the snmp logs Fixes:#107

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ccsd/trunk/crcnetd/modules/ccs_graph.py

    r1338 r1345  
    5656    session = getSessionE(session_id) 
    5757 
    58     sql = "SELECT * FROM rrdbotlog"  
     58    sql = "SELECT * FROM rrdbotlog ORDER BY timestamp DESC"  
    5959    res = session.query(sql, ())  
    60     res.sort(key=lambda obj:obj["timestamp"]); 
    6160    return res 
    6261     
Note: See TracChangeset for help on using the changeset viewer.