Subtle bugfixes cfr. Py2 to Py3
This commit is contained in:
parent
68a247654d
commit
bf8ef00b05
3 changed files with 5 additions and 5 deletions
|
|
@ -896,7 +896,7 @@ class ExternalWrapper(AtomicDEVS):
|
||||||
|
|
||||||
def extTransition(self, inputs):
|
def extTransition(self, inputs):
|
||||||
# Fake object is created with a single fake port, so unpack that
|
# Fake object is created with a single fake port, so unpack that
|
||||||
self.f(self.my_input.values()[0])
|
self.f(list(self.my_input.values())[0])
|
||||||
|
|
||||||
def directConnect(component_set, listeners):
|
def directConnect(component_set, listeners):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
|
|
@ -73,7 +73,7 @@ class AsynchronousComboGenerator(object):
|
||||||
raise DEVSException(
|
raise DEVSException(
|
||||||
"Inproperly formatted input in file: %s" % event)
|
"Inproperly formatted input in file: %s" % event)
|
||||||
self.next_scheduled = float(event[0])
|
self.next_scheduled = float(event[0])
|
||||||
self.file_event = event[1][:-1]
|
self.file_event = event[1].rstrip()
|
||||||
|
|
||||||
def getNextTime(self):
|
def getNextTime(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue