[Nym3-commit] r122 - trunk/nym3/Client
nym3-devel@lists.noreply.org
nym3-devel@lists.noreply.org
Tue, 24 Aug 2004 18:05:51 +0200
Author: laurent
Date: 2004-08-24 18:05:49 +0200 (Tue, 24 Aug 2004)
New Revision: 122
Modified:
trunk/nym3/Client/Main.py
Log:
More indent mistakes.
Modified: trunk/nym3/Client/Main.py
===================================================================
--- trunk/nym3/Client/Main.py 2004-08-24 15:56:18 UTC (rev 121)
+++ trunk/nym3/Client/Main.py 2004-08-24 16:05:49 UTC (rev 122)
@@ -10,22 +10,22 @@
def processMessage(msg):
"""process incoming control message
"""
-
+
sr = nym3.Message.StrReader(msg)
comList = sr.readCommandCToSList()
for com in comList:
- if (com.ct() == 0):
- pass
- elif (com.ct() == 1):
- pass
- elif (com.ct() == 2):
- pass
- elif (com.ct() == 3):
- pass
- elif (com.ct() == 4):
- pass
- elif (com.ct() == 5):
- pass
+ if (com.ct() == 0):
+ pass
+ elif (com.ct() == 1):
+ pass
+ elif (com.ct() == 2):
+ pass
+ elif (com.ct() == 3):
+ pass
+ elif (com.ct() == 4):
+ pass
+ elif (com.ct() == 5):
+ pass
def setUpAccount(serverName):
try:
@@ -63,8 +63,14 @@
nymUser = None
#TODO put here options common to every command
- parser.add_option("-D","--debug", action = "callback", callback = setDebug, help = "output message on stdout instead of sending them through mixminion")
- userOption = make_option("-u","--user", action = "callback", callback = setUser, type = "string", help = "determine the user account to be used, Client.Config.DefaultUser by default")
+ parser.add_option("-D", "--debug", action = "callback",
+ callback = setDebug, help = "output message on stdout\
+ instead of sending them through mixminion")
+ userOption = make_option("-u", "--user", action = "callback",
+ callback = setUser, type = "string",
+ help = "determine the user account to be used")
+ # ", Client.Config.DefaultUser by default")
+ # how helpful is that supposed to be to the user?
if sys.argv[1] == 'setup':
pass