diff options
author | evasquez <eric.vasquez@calxeda.com> | 2013-08-26 11:49:06 -0500 |
---|---|---|
committer | evasquez <eric.vasquez@calxeda.com> | 2013-08-26 11:49:06 -0500 |
commit | a48c8ff30e80e655f3f50c98fb175fa20029d8a8 (patch) | |
tree | 1c08a5f461a9f85306b61a15a14e90339887925c | |
parent | ffa94bee55fc25c7f0fddf46730633c7a3496c7c (diff) | |
download | cxmanage-a48c8ff30e80e655f3f50c98fb175fa20029d8a8.tar.gz |
nojira: fixed pylint warns.
-rw-r--r-- | cxmanage_api/node.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/cxmanage_api/node.py b/cxmanage_api/node.py index f41e059..1bc051c 100644 --- a/cxmanage_api/node.py +++ b/cxmanage_api/node.py @@ -1,6 +1,6 @@ +# pylint: disable=C0302 """Calxeda: node.py""" - # Copyright (c) 2012, Calxeda Inc. # # All rights reserved. @@ -30,7 +30,6 @@ # 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,7 +54,7 @@ from cxmanage_api.cx_exceptions import TimeoutError, NoSensorError, \ PartitionInUseError, UbootenvError, NoFRUVersionError -# pylint: disable=R0902 +# pylint: disable=R0902, R0904 class Node(object): """A node is a single instance of an ECME. @@ -81,7 +80,7 @@ class Node(object): :type ubootenv: `UbootEnv <ubootenv.html>`_ """ - + # pylint: disable=R0913 def __init__(self, ip_address, username="admin", password="admin", tftp=None, ecme_tftp_port=5001, verbose=False, bmc=None, image=None, ubootenv=None, ipretriever=None): @@ -615,6 +614,7 @@ communication. PartitionInUseError): return False + # pylint: disable=R0914, R0912, R0915 def update_firmware(self, package, partition_arg="INACTIVE", priority=None): """ Update firmware on this target. @@ -1361,7 +1361,7 @@ communication. hops.append((int(pair[1]), int(pair[0]))) dchrt_entries['others'] = hops - except Exception: + except Exception: # pylint: disable=W0703 pass results[target] = dchrt_entries |