Added two spaces before in-line # comments.
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ class StreamHandlerNoNewline( logging.StreamHandler ):
|
||||
try:
|
||||
msg = self.format( record )
|
||||
fs = '%s' # was '%s\n'
|
||||
if not hasattr( types, 'UnicodeType' ): #if no unicode support...
|
||||
if not hasattr( types, 'UnicodeType' ): # if no unicode support...
|
||||
self.stream.write( fs % msg )
|
||||
else:
|
||||
try:
|
||||
|
||||
+1
-1
@@ -97,7 +97,7 @@ from mininet.util import quietRun, fixLimits
|
||||
from mininet.util import createLink, macColonHex, ipStr, ipParse
|
||||
from mininet.xterm import cleanUpScreens, makeXterms
|
||||
|
||||
DATAPATHS = [ 'kernel' ] #[ 'user', 'kernel' ]
|
||||
DATAPATHS = [ 'kernel' ] # [ 'user', 'kernel' ]
|
||||
|
||||
def init():
|
||||
"Initialize Mininet."
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@ class TreeTopo( Topo ):
|
||||
for i in range( 0, fanout ):
|
||||
child = n + 1
|
||||
self.add_edge( me, child )
|
||||
n = self.addTree( child, depth-1, fanout )
|
||||
n = self.addTree( child, depth - 1, fanout )
|
||||
return n
|
||||
|
||||
# pylint: enable-msg=W0612
|
||||
|
||||
Reference in New Issue
Block a user