From 5ca91f9cede0770cf2ff2f084d3e982d6a191bc1 Mon Sep 17 00:00:00 2001 From: Bob Lantz Date: Thu, 12 Apr 2012 23:30:40 -0700 Subject: [PATCH] White space edits for code check. --- mininet/node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mininet/node.py b/mininet/node.py index a901b7a..238e9bf 100644 --- a/mininet/node.py +++ b/mininet/node.py @@ -287,7 +287,7 @@ class Node( object ): args: Popen() args, single list, or string kwargs: Popen() keyword args""" defaults = { 'stdout': PIPE, 'stderr': PIPE, - 'mncmd': + 'mncmd': [ 'mnexec', '-a', str( self.pid ) ] } defaults.update( kwargs ) if len( args ) == 1: @@ -591,7 +591,7 @@ class CPULimitedHost( Host ): args: Popen() args, single list, or string kwargs: Popen() keyword args""" # Tell mnexec to execute command in our cgroup - mncmd = [ 'mnexec', '-a', str( self.pid ), + mncmd = [ 'mnexec', '-a', str( self.pid ), '-g', self.name ] if self.sched == 'rt': mncmd += [ '-r', str( self.rtprio ) ]