Minor changes for Python 3
items() vs. iteritems() and decode() bytes in monitorFiles Probably not strictly correct if bytes are split - we still need to deal with this properly.
This commit is contained in:
1 parent
f94ee8ec97
commit
af4921adc5
3 files changed
+5
-4
No files matched your search
+1
-1
@@ -126,7 +126,7 @@ class ClusterCleanup( object ):
|
||||
def cleanup( cls ):
|
||||
"Clean up"
|
||||
info( '*** Cleaning up cluster\n' )
|
||||
for server, user in cls.serveruser.iteritems():
|
||||
for server, user in cls.serveruser.items():
|
||||
if server == 'localhost':
|
||||
# Handled by mininet.clean.cleanup()
|
||||
continue
|
||||
|
||||
Reference in new issue
Block a user