求教~~无解啊,无解啊~~

  1. ['__doc__', '__init__', '__module__', '_free', '_fsType', '_mountPoint', '_name', '_options', '_percentInodesUsed', '_total', '_used', 'getFree', 'getFsType', 'getMountPoint', 'getName', 'getOptions', 'getPercentInodesUsed', 'getPercentUsed', 'getTotal', 'getUsed', 'setFree', 'setFsType', 'setMountPoint', 'setName', 'setOptions', 'setPercentInodesUsed', 'setTotal', 'setUsed']
  2. Traceback (most recent call last):
  3.   File "<stdin>", line 1, in <module>
  4.   File "xml_py/XML.py", line 230, in _buildFilesystems
  5.     self._fillDevice(mount, disk, i)
  6.   File "xml_py/XML.py", line 203, in _fillDevice
  7.     print dev.getPercentInodsUsed
  8. AttributeError: DiskDevice instance has no attribute 'getPercentInodsUsed'
复制代码
[]里面是执行dir() DiskDevice 的一个 instance 出来的结果~~

作者: Ballma   发布时间: 2011-05-27

'getPercentInodsUsed'
'getPercentInodesUsed'

作者: Kabie   发布时间: 2011-05-27