summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevasquez <eric.vasquez@calxeda.com>2013-08-26 11:02:19 -0500
committerevasquez <eric.vasquez@calxeda.com>2013-08-26 11:02:19 -0500
commit65731cb58cbc6015f3b6259622d1e2e077a37cbf (patch)
tree800ff926fe6c81205f0406ba20a6019f537bc59c
parentdadc16ebb69d09e8e4d3b3c59e3174d17a92470a (diff)
downloadcxmanage-65731cb58cbc6015f3b6259622d1e2e077a37cbf.tar.gz
nojira: Fixed pylint warnings.
-rw-r--r--cxmanage_api/node.py5
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]