[Nym3-commit] r345 - in trunk/nymbaron: . Client

jr at conuropsis.org jr at conuropsis.org
Wed Oct 12 23:26:47 CEST 2005


Author: jr
Date: 2005-10-12 23:26:47 +0200 (Wed, 12 Oct 2005)
New Revision: 345

Modified:
   trunk/nymbaron/Client/Main.py
   trunk/nymbaron/TODO
Log:
- Bugfix: order in list_journal


Modified: trunk/nymbaron/Client/Main.py
===================================================================
--- trunk/nymbaron/Client/Main.py	2005-10-12 21:15:20 UTC (rev 344)
+++ trunk/nymbaron/Client/Main.py	2005-10-12 21:26:47 UTC (rev 345)
@@ -570,7 +570,12 @@
 def journal_time_cmp(a, b):
     seqnoa, msga, ta, da = a
     seqnob, msgb, tb, db = b
-    return ta < tb
+    if ta < tb:
+	return -1
+    elif ta == tb:
+	return 0
+    else:
+	return 1
 
 def list_journal(ui, config, nickname = None):
     account = get_account_from_nickname(ui, config, nickname,

Modified: trunk/nymbaron/TODO
===================================================================
--- trunk/nymbaron/TODO	2005-10-12 21:15:20 UTC (rev 344)
+++ trunk/nymbaron/TODO	2005-10-12 21:26:47 UTC (rev 345)
@@ -8,7 +8,7 @@
         D Deferred
         X Abandoned
 
- 
+ - catch Ctrl-C interruption on passphrase input[client]
  - periodically scan for emails that need to be relayed [server]
  - periodically scan for synopses that have stayed that need to be encrypted
  [server]



More information about the Nym3-commit mailing list