Revision b459a848 lib/storage.py

b/lib/storage.py
23 23

  
24 24
"""
25 25

  
26
# pylint: disable-msg=W0232,R0201
26
# pylint: disable=W0232,R0201
27 27

  
28 28
# W0232, since we use these as singletons rather than object holding
29 29
# data
......
58 58
    """
59 59
    raise NotImplementedError()
60 60

  
61
  def Modify(self, name, changes): # pylint: disable-msg=W0613
61
  def Modify(self, name, changes): # pylint: disable=W0613
62 62
    """Modifies an entity within the storage unit.
63 63

  
64 64
    @type name: string
......
84 84
    raise NotImplementedError()
85 85

  
86 86

  
87
class FileStorage(_Base): # pylint: disable-msg=W0223
87
class FileStorage(_Base): # pylint: disable=W0223
88 88
  """File storage unit.
89 89

  
90 90
  """
......
161 161
    return values
162 162

  
163 163

  
164
class _LvmBase(_Base): # pylint: disable-msg=W0223
164
class _LvmBase(_Base): # pylint: disable=W0223
165 165
  """Base class for LVM storage containers.
166 166

  
167 167
  @cvar LIST_FIELDS: list of tuples consisting of three elements: SF_*
......
256 256

  
257 257
        if callable(mapper):
258 258
          # we got a function, call it with all the declared fields
259
          val = mapper(*values) # pylint: disable-msg=W0142
259
          val = mapper(*values) # pylint: disable=W0142
260 260
        elif len(values) == 1:
261 261
          assert mapper is None, ("Invalid mapper value (neither callable"
262 262
                                  " nor None) for one-element fields")
......
347 347
    return False
348 348

  
349 349

  
350
class LvmPvStorage(_LvmBase): # pylint: disable-msg=W0223
350
class LvmPvStorage(_LvmBase): # pylint: disable=W0223
351 351
  """LVM Physical Volume storage unit.
352 352

  
353 353
  """

Also available in: Unified diff