Restore links output format
In the change from print -> print() -> output() we lost the new lines which makes it hard to read the output
This commit is contained in:
1 parent
3276e3fef5
commit
cea176fa9f
1 file changed
+1
-1
+1
-1
@@ -373,7 +373,7 @@ class CLI( Cmd ):
|
|||||||
def do_links( self, _line ):
|
def do_links( self, _line ):
|
||||||
"Report on links"
|
"Report on links"
|
||||||
for link in self.mn.links:
|
for link in self.mn.links:
|
||||||
output( link, link.status() )
|
output( link, link.status(), '\n' )
|
||||||
|
|
||||||
def do_switch( self, line ):
|
def do_switch( self, line ):
|
||||||
"Starts or stops a switch"
|
"Starts or stops a switch"
|
||||||
|
|||||||
Reference in new issue
Block a user