Revision fe267188 lib/backend.py

b/lib/backend.py
1151 1151
        # we need the children open in case the device itself has to
1152 1152
        # be assembled
1153 1153
        try:
1154
          # pylint: disable-msg=E1103
1154 1155
          crdev.Open()
1155 1156
        except errors.BlockDeviceError, err:
1156 1157
          errmsg = "Can't make child '%s' read-write: %s" % (child, err)
......
1297 1298
  try:
1298 1299
    result = _RecursiveAssembleBD(disk, owner, as_primary)
1299 1300
    if isinstance(result, bdev.BlockDev):
1301
      # pylint: disable-msg=E1103
1300 1302
      result = result.dev_path
1301 1303
  except errors.BlockDeviceError, err:
1302 1304
    result = "Error while assembling disk: %s" % str(err)
......
2510 2512
    """
2511 2513
    if hooks_base_dir is None:
2512 2514
      hooks_base_dir = constants.HOOKS_BASE_DIR
2513
    self._BASE_DIR = hooks_base_dir
2515
    # yeah, _BASE_DIR is not valid for attributes, we use it like a
2516
    # constant
2517
    self._BASE_DIR = hooks_base_dir # pylint: disable-msg=C0103
2514 2518

  
2515 2519
  @staticmethod
2516 2520
  def ExecHook(script, env):

Also available in: Unified diff