diff options
author | George Kraft <george.kraft@calxeda.com> | 2013-05-03 13:53:41 -0500 |
---|---|---|
committer | George Kraft <george.kraft@calxeda.com> | 2013-05-03 13:53:41 -0500 |
commit | 2e55071f34925de7ddc4d300ef620fad23905519 (patch) | |
tree | ff76871f70045ddee33cbff229e4f370c281d421 | |
parent | 3f29af0d6b9686f64e3d7a4ab6705d02fe1119cc (diff) | |
download | cxmanage-2e55071f34925de7ddc4d300ef620fad23905519.tar.gz |
pylint warnings
-rw-r--r-- | cxmanage_api/fabric.py | 1 | ||||
-rw-r--r-- | cxmanage_api/ubootenv.py | 3 |
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: |