X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=plugins%2Fhierarchy.py;h=8c65003610e7341c3037df97b72bb3dfa4bbfd6c;hb=74e20e0f6ac2f40bf5655609cf22c06133f0f105;hp=1a33597cc4710b9759963c04391cc7e0b80d994c;hpb=eeb875a9c1303e6052c0f5857409d96a57426531;p=webber.git diff --git a/plugins/hierarchy.py b/plugins/hierarchy.py index 1a33597..8c65003 100644 --- a/plugins/hierarchy.py +++ b/plugins/hierarchy.py @@ -182,6 +182,5 @@ def get_recently(page=None, max_items=10): if len(res) < max_items: addPage(res, get_file_for(c[1])) addPage(res, orig_page) - res.sort(cmp = lambda x,y: x[0].mtime < y[0].mtime) - #for p in res: print p + res.sort(cmp = lambda x,y: cmp(y[0].mtime, x[0].mtime)) return res