[Nym3-commit] r76 - trunk

nym3-devel@lists.noreply.org nym3-devel@lists.noreply.org
Wed, 04 Aug 2004 17:27:27 +0200


Author: jr
Date: 2004-08-04 17:27:25 +0200 (Wed, 04 Aug 2004)
New Revision: 76

Modified:
   trunk/Main.py
Log:
User.isUp() is a boolean


Modified: trunk/Main.py
===================================================================
--- trunk/Main.py	2004-08-04 15:23:54 UTC (rev 75)
+++ trunk/Main.py	2004-08-04 15:27:25 UTC (rev 76)
@@ -93,11 +93,11 @@
 		#we ignore the Create command if it comes from the nymholder of an account, should we rise an error?
 		pass
 	    elif (com.ct() == 1):
-		if (nymUser.isInitialized() and (nymUser.isUp() == False)):
+		if (nymUser.isInitialized() and (not nymUser.isUp())):
 		    if(nymUser['cr'] == com.cr):
 			nymUser.setUp()
 		#if the account is not initialized, or if it is already up we ignore Create2 messages
-	    elif (nymUser.isUp() == True):
+	    elif (nymUser.isUp()):
 		if (com.ct() == 2):
 		    if( len(com.surbs) == 0):
 			nymUser.delSurbs()