Change from numeric to symbolic pylint error codes

This commit is contained in:
Bob Lantz
2014-12-04 08:21:53 -08:00
parent d754a7ceea
commit 061598f011
9 changed files with 34 additions and 35 deletions
+2 -2
View File
@@ -254,9 +254,9 @@ class Mininet( object ):
if isinstance( name, Controller ):
controller_new = name
# Pylint thinks controller is a str()
# pylint: disable=E1103
# pylint: disable=maybe-no-member
name = controller_new.name
# pylint: enable=E1103
# pylint: enable=maybe-no-member
else:
controller_new = controller( name, **params )
# Add new controller to net