diff options
author | evasquez <eric.vasquez@calxeda.com> | 2013-08-26 11:02:19 -0500 |
---|---|---|
committer | evasquez <eric.vasquez@calxeda.com> | 2013-08-26 11:02:19 -0500 |
commit | 65731cb58cbc6015f3b6259622d1e2e077a37cbf (patch) | |
tree | 800ff926fe6c81205f0406ba20a6019f537bc59c | |
parent | dadc16ebb69d09e8e4d3b3c59e3174d17a92470a (diff) | |
download | cxmanage-65731cb58cbc6015f3b6259622d1e2e077a37cbf.tar.gz |
nojira: Fixed pylint warnings.
-rw-r--r-- | cxmanage_api/node.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cxmanage_api/node.py b/cxmanage_api/node.py index 6bfd12f..5d33e64 100644 --- a/cxmanage_api/node.py +++ b/cxmanage_api/node.py @@ -1350,7 +1350,7 @@ communication. dchrt_entries = {} dchrt_entries['shortest'] = (neighbor, hops) try: - other_hops_neighbors = elements[12].strip().split('[,\s]+') + other_hops_neighbors = elements[12].strip().split("[,\s]+") hops = [] for entry in other_hops_neighbors: pair = entry.strip().split('/') @@ -1765,7 +1765,8 @@ obtained. partition = self._get_partition(fwinfo, "SOC_ELF", "FIRST") self._download_image(partition) - def _get_next_priority(self, fwinfo, package): + @staticmethod + def _get_next_priority(fwinfo, package): """ Get the next priority """ priority = None image_types = [x.type for x in package.images] |