summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorevasquez <eric.vasquez@calxeda.com>2013-08-26 11:41:49 -0500
committerevasquez <eric.vasquez@calxeda.com>2013-08-26 11:41:49 -0500
commitffa94bee55fc25c7f0fddf46730633c7a3496c7c (patch)
tree9ae6399d4502ae6aff74de1896bf415093a0470c
parentde0da79868875c4118802a38b8b15e639609d9b3 (diff)
downloadcxmanage-ffa94bee55fc25c7f0fddf46730633c7a3496c7c.tar.gz
nojira: fixed line too long.
-rw-r--r--cxmanage_api/node.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/cxmanage_api/node.py b/cxmanage_api/node.py
index 983fd60..f41e059 100644
--- a/cxmanage_api/node.py
+++ b/cxmanage_api/node.py
@@ -30,7 +30,7 @@
# TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
# THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
# DAMAGE.
-
+# pylint: disable=C0302
import os
import re
@@ -55,6 +55,7 @@ from cxmanage_api.cx_exceptions import TimeoutError, NoSensorError, \
PartitionInUseError, UbootenvError, NoFRUVersionError
+# pylint: disable=R0902
class Node(object):
"""A node is a single instance of an ECME.
@@ -609,8 +610,9 @@ communication.
try:
self._check_firmware(package, partition_arg, priority)
return True
- except (SocmanVersionError, FirmwareConfigError, PriorityIncrementError,
- NoPartitionError, ImageSizeError, PartitionInUseError):
+ except (SocmanVersionError, FirmwareConfigError,
+ PriorityIncrementError, NoPartitionError, ImageSizeError,
+ PartitionInUseError):
return False
def update_firmware(self, package, partition_arg="INACTIVE",