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:
Bob Lantz committed 2018-07-25 19:44:45 -07:00
1 parent f94ee8ec97
commit af4921adc5
3 files changed
+5 -4

No files matched your search

+1 -1
View File
@@ -49,7 +49,7 @@ class MininetFacade( object ):
args: unnamed networks passed as arguments
kwargs: named networks passed as arguments"""
self.net = net
self.nets = [ net ] + list( args ) + kwargs.values()
self.nets = [ net ] + list( args ) + list( kwargs.values() )
self.nameToNet = kwargs
self.nameToNet['net'] = net