[Nym3-commit] r408 - in trunk: . nymbaron/Client
jr at conuropsis.org
jr at conuropsis.org
Wed Nov 16 20:27:31 CET 2005
Author: jr
Date: 2005-11-16 20:27:30 +0100 (Wed, 16 Nov 2005)
New Revision: 408
Modified:
trunk/TODO
trunk/nymbaron/Client/Main.py
Log:
- make list-accounts more verbose
Modified: trunk/TODO
===================================================================
--- trunk/TODO 2005-11-16 19:13:58 UTC (rev 407)
+++ trunk/TODO 2005-11-16 19:27:30 UTC (rev 408)
@@ -11,7 +11,7 @@
* be able to cope with base64 encoded as well as raw binary input
flawlessly for nymbaron -m [server]
* let the user set the domainname of the account when known.
- * do not return silently without giving explanation of what went wrong or what
+ . do not return silently without giving explanation of what went wrong or what
was done
. don't fail miserably when another instance holds a lock, instead simply
wait for it a few times [client]
Modified: trunk/nymbaron/Client/Main.py
===================================================================
--- trunk/nymbaron/Client/Main.py 2005-11-16 19:13:58 UTC (rev 407)
+++ trunk/nymbaron/Client/Main.py 2005-11-16 19:27:30 UTC (rev 408)
@@ -648,16 +648,24 @@
if len(nicks) == 0:
ui.display("No account")
return
+ ui.display("WARNING: the numerical information given relatively to an " +
+ "existing account is based on the last STATUS command received and may be "
+ + "out of date")
for nickname in nicks:
a = Account.Account(config, nickname)
#TODO be more verbose?
ui.display(nickname)
if a['username']:
ui.display("\t%s@%s" % (a['username'], a['servername']))
+ ui.display("\tnumber of messages awaiting on the server: %d" %
+ a['nMsg'])
+ ui.display("\tnumber of surbs on the server: %d" % a['nSurb'])
+ ui.display("\tstorage capacity on the server: %d/%d" %
+ (a['used'], a['quota']))
else:
ui.display("\tcreation in process")
ui.display("\tserver: %s" % a['servername'])
- ui.display("\tReturn address: %s" % a['returnaddress'])
+ ui.display("\treturn address: %s" % a['returnaddress'])
def remove_accounts(ui, config, args):
if not args:
More information about the Nym3-commit
mailing list