Automaton: avoid a double call to parse_args

First call was in __init__
Second call results from .run() call
This commit is contained in:
Ajax 2017-10-24 17:08:07 +02:00
parent 4f6fcce10b
commit 6ac7357435
1 changed files with 0 additions and 2 deletions

View File

@ -670,8 +670,6 @@ class Automaton(six.with_metaclass(Automaton_metaclass)):
for stname in self.states:
setattr(self, stname,
_instance_state(getattr(self, stname)))
self.parse_args(*args, **kargs)
self.start()