[Ocfs2-tools-commits] manish commits r750 - trunk/ocfs2console/ocfs2interface

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Sun Mar 27 19:10:21 CST 2005


Author: manish
Date: 2005-03-27 19:10:19 -0600 (Sun, 27 Mar 2005)
New Revision: 750

Modified:
   trunk/ocfs2console/ocfs2interface/clconfig.py
Log:
Oops, fix logic


Modified: trunk/ocfs2console/ocfs2interface/clconfig.py
===================================================================
--- trunk/ocfs2console/ocfs2interface/clconfig.py	2005-03-28 01:09:34 UTC (rev 749)
+++ trunk/ocfs2console/ocfs2interface/clconfig.py	2005-03-28 01:10:19 UTC (rev 750)
@@ -229,7 +229,7 @@
         self.set_response_sensitive(gtk.RESPONSE_APPLY, state)
             
     def add_node(self, b):
-        if len(self.store) > ocfs2.MAX_NODES:
+        if len(self.store) == ocfs2.MAX_NODES:
             error_box(self, 'Cannot have more than %d nodes in a cluster' %
                             ocfs2.MAX_NODES)
             return



More information about the Ocfs2-tools-commits mailing list