Revision d367b66c lib/config.py
b/lib/config.py | ||
---|---|---|
31 | 31 |
|
32 | 32 |
""" |
33 | 33 |
|
34 |
# pylint: disable-msg=R0904 |
|
35 |
# R0904: Too many public methods |
|
36 |
|
|
34 | 37 |
import os |
35 | 38 |
import random |
36 | 39 |
import logging |
... | ... | |
1412 | 1415 |
} |
1413 | 1416 |
|
1414 | 1417 |
@locking.ssynchronized(_config_lock, shared=1) |
1418 |
def GetSsconfValues(self): |
|
1419 |
"""Wrapper using lock around _UnlockedGetSsconf(). |
|
1420 |
|
|
1421 |
""" |
|
1422 |
return self._UnlockedGetSsconfValues() |
|
1423 |
|
|
1424 |
@locking.ssynchronized(_config_lock, shared=1) |
|
1415 | 1425 |
def GetVGName(self): |
1416 | 1426 |
"""Return the volume group name. |
1417 | 1427 |
|
Also available in: Unified diff