diff --git a/lib/block/drbd.py b/lib/block/drbd.py index f7667a1cebcd11db7294164e7822e62def6f1625..5f1d47b673f2156df1d510ed1bdf1ff55cbcbeff 100644 --- a/lib/block/drbd.py +++ b/lib/block/drbd.py @@ -46,7 +46,7 @@ class DRBD8Status(object): # pylint: disable=R0902 """A DRBD status representation class. Note that this class is meant to be used to parse one of the entries returned - from L{DRBD8Info._JoinProcDataPerMinor}. + from L{DRBD8Info._JoinLinesPerMinor}. """ UNCONF_RE = re.compile(r"\s*[0-9]+:\s*cs:Unconfigured$") @@ -165,7 +165,7 @@ class DRBD8Info(object): def __init__(self, lines): self._version = self._ParseVersion(lines) - self._minors, self._line_per_minor = self._JoinProcDataPerMinor(lines) + self._minors, self._line_per_minor = self._JoinLinesPerMinor(lines) def GetVersion(self): """Return the DRBD version. @@ -216,7 +216,7 @@ class DRBD8Info(object): return retval - def _JoinProcDataPerMinor(self, lines): + def _JoinLinesPerMinor(self, lines): """Transform the raw lines into a dictionary based on the minor. @return: a dictionary of minor: joined lines from /proc/drbd