summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Kraft <george.kraft@calxeda.com>2013-05-03 13:53:41 -0500
committerGeorge Kraft <george.kraft@calxeda.com>2013-05-03 13:53:41 -0500
commit2e55071f34925de7ddc4d300ef620fad23905519 (patch)
treeff76871f70045ddee33cbff229e4f370c281d421
parent3f29af0d6b9686f64e3d7a4ab6705d02fe1119cc (diff)
downloadcxmanage-2e55071f34925de7ddc4d300ef620fad23905519.tar.gz
pylint warnings
-rw-r--r--cxmanage_api/fabric.py1
-rw-r--r--cxmanage_api/ubootenv.py3
2 files changed, 3 insertions, 1 deletions
diff --git a/cxmanage_api/fabric.py b/cxmanage_api/fabric.py
index 321968b..34f435e 100644
--- a/cxmanage_api/fabric.py
+++ b/cxmanage_api/fabric.py
@@ -108,6 +108,7 @@ class Fabric(object):
@tftp.setter
def tftp(self, value):
+ """ Set the TFTP server for this fabric (and all nodes) """
self._tftp = value
if not self._nodes:
diff --git a/cxmanage_api/ubootenv.py b/cxmanage_api/ubootenv.py
index 1fbb62e..b5b8272 100644
--- a/cxmanage_api/ubootenv.py
+++ b/cxmanage_api/ubootenv.py
@@ -134,7 +134,8 @@ class UbootEnv:
bootdevice = "%i:%i" % (dev, part)
except ValueError:
bootdevice = str(int(arg[4:]))
- commands.append("setenv devnum %s && run init_scsi && run bootcmd_scsi"
+ commands.append(
+ "setenv devnum %s && run init_scsi && run bootcmd_scsi"
% bootdevice)
if retry and reset: