[Ocfs2-tools-commits] manish commits r810 -
trunk/ocfs2console/ocfs2interface
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Thu Apr 14 16:52:48 CDT 2005
Author: manish
Date: 2005-04-14 16:52:46 -0500 (Thu, 14 Apr 2005)
New Revision: 810
Modified:
trunk/ocfs2console/ocfs2interface/o2cb_ctl.py
Log:
Minor cleanup
Modified: trunk/ocfs2console/ocfs2interface/o2cb_ctl.py
===================================================================
--- trunk/ocfs2console/ocfs2interface/o2cb_ctl.py 2005-04-14 21:51:57 UTC (rev 809)
+++ trunk/ocfs2console/ocfs2interface/o2cb_ctl.py 2005-04-14 21:52:46 UTC (rev 810)
@@ -33,19 +33,19 @@
class O2CBProcess(Process):
def __init__(self, args, desc, parent=None):
if isinstance(args, types.StringTypes):
- command = '%s %s' % (self.o2cb_program, args)
+ command = '%s %s' % (self.program, args)
else:
- command = (self.o2cb_program,) + tuple(args)
+ command = (self.program,) + tuple(args)
- Process.__init__(self, command, self.o2cb_title, desc, parent)
+ Process.__init__(self, command, self.title, desc, parent)
class O2CBCtl(O2CBProcess):
- o2cb_program = O2CB_CTL
- o2cb_title = 'Cluster Control'
+ program = O2CB_CTL
+ title = 'Cluster Control'
class O2CBInit(O2CBProcess):
- o2cb_program = O2CB_INIT
- o2cb_title = 'Cluster Stack'
+ program = O2CB_INIT
+ title = 'Cluster Stack'
def init_load(parent=None):
args = ('load',)
More information about the Ocfs2-tools-commits
mailing list