[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] conga/luci/site/luci/Extensions ModelBuilder.p ...



CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	rmccabe sourceware org	2007-01-23 14:01:03

Modified files:
	luci/site/luci/Extensions: ModelBuilder.py 
Removed files:
	luci/site/luci/Extensions: CommandHandler.py MessageLibrary.py 

Log message:
	get rid of traces of GTK

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ModelBuilder.py.diff?cvsroot=cluster&r1=1.14&r2=1.15
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/CommandHandler.py.diff?cvsroot=cluster&r1=1.1&r2=NONE
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/MessageLibrary.py.diff?cvsroot=cluster&r1=1.1&r2=NONE

--- conga/luci/site/luci/Extensions/ModelBuilder.py	2007/01/15 21:29:53	1.14
+++ conga/luci/site/luci/Extensions/ModelBuilder.py	2007/01/23 14:01:02	1.15
@@ -40,7 +40,6 @@
 from FailoverDomainNode import FailoverDomainNode
 from Rm import Rm
 from Heuristic import Heuristic
-from CommandHandler import CommandHandler
 from CommandError import CommandError
 from GeneralError import GeneralError
 from clui_constants import *
@@ -118,7 +117,6 @@
     self.resourcemanager_ptr = None
     self.resources_ptr = None
     self.fence_daemon_ptr = None
-    self.command_handler = CommandHandler()
     self.isModified = False
     self.quorumd_ptr = None
     self.usesQuorumd = False
@@ -521,9 +519,6 @@
   def getFilepath(self):
     return self.filename
 
-  def isClusterMember(self):
-    return self.command_handler.isClusterMember()
-
   def setIsVirtualized(self,isVirtualized):
     if isVirtualized == None:
       self.isVirtualized = False
@@ -1032,7 +1027,6 @@
     if self.getLockType() == GULM_TYPE:
       gulm_count = len(self.getGULMPtr().getChildren())
       if not (gulm_count in (1, 3, 4, 5)):
-        MessageLibrary.errorMessage(INVALID_GULM_COUNT % gulm_count)
         return False
     return True
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]