Revision: 565
http://omc.svn.sourceforge.net/omc/?rev=565&view=rev
Author: npaxton
Date: 2008-04-11 13:42:50 -0700 (Fri, 11 Apr 2008)
Log Message:
-----------
minor fixes and comments
Modified Paths:
--------------
pybase/trunk/OMC_LogicalFile.py
pybase/trunk/OMC_UnixProcess.py
Modified: pybase/trunk/OMC_LogicalFile.py
===================================================================
--- pybase/trunk/OMC_LogicalFile.py 2008-04-11 05:11:48 UTC (rev 564)
+++ pybase/trunk/OMC_LogicalFile.py 2008-04-11 20:42:50 UTC (rev 565)
@@ -641,6 +641,8 @@
"""
+ #TODO: Check that both sides of association are valid InstanceNames
+ # and that they are indeed associated
return model
def enum_instances(self, env, model, cim_class, keys_only):
@@ -780,6 +782,8 @@
"""
+ #TODO: Check that both sides of association are valid InstanceNames
+ # and that they are indeed associated
return model
def enum_instances(self, env, model, cim_class, keys_only):
Modified: pybase/trunk/OMC_UnixProcess.py
===================================================================
--- pybase/trunk/OMC_UnixProcess.py 2008-04-11 05:11:48 UTC (rev 564)
+++ pybase/trunk/OMC_UnixProcess.py 2008-04-11 20:42:50 UTC (rev 565)
@@ -838,7 +838,7 @@
model['Dependent'] = lp.get_instance_name(model.path.namespace)
fname = lp.get_module_path()
if fname:
- model['Antecedent'] = OMC_LogicalFile.get_file_path(fname)
+ model['Antecedent'] = OMC_LogicalFile.get_file_path(fname, model.path.namespace)
yield model
def set_instance(self, env, instance, previous_instance, cim_class):
@@ -869,7 +869,7 @@
pass
elif not pywbem.is_subclass(env.get_cimom_handle(),
object_name.namespace, sub='omc_datafile',
- super=result_classname):
+ super=result_class_name):
return
model['Dependent'] = object_name
fname = '/proc/%d/exe' % lp.pid
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|