[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunetbib] 02/02: reverse order by date
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunetbib] 02/02: reverse order by date |
Date: |
Tue, 02 Jul 2019 20:19:11 +0200 |
This is an automated email from the git hooks/post-receive script.
xrs pushed a commit to branch master
in repository gnunetbib.
commit 9b9ca0ff52228befa02e8fce63c45a478c73c0b8
Author: xrs <address@hidden>
AuthorDate: Tue Jul 2 20:19:07 2019 +0200
reverse order by date
---
BibTeX.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/BibTeX.py b/BibTeX.py
index ca0eb68..fa5821e 100644
--- a/BibTeX.py
+++ b/BibTeX.py
@@ -299,7 +299,7 @@ def sortEntriesByDate(entries):
except ValueError:
date = 10000*13
tmp.append((date, i, ent))
- tmp.sort()
+ tmp.sort(reverse=True)
return [t[2] for t in tmp]
--
To stop receiving notification emails like this one, please contact
address@hidden.