def _initSwapInfo(self):
self._swapList = []<EOL>sysinfo = SystemInfo()<EOL>for (swap,attrs) in sysinfo.getSwapStats().items():<EOL><INDENT>if attrs['<STR_LIT:type>'] == '<STR_LIT>':<EOL><INDENT>dev = self._getUniqueDev(swap)<EOL>if dev is not None:<EOL><INDENT>self._swapList.append(dev)<EOL><DEDENT><DEDENT><DEDENT>
Initialize swap partition to device mappings.