Skip to content

Commit 79e41d8

Browse files
authored
Removed Statement with no effects
Closed (PYL-W0104) Statement has no effect #24
1 parent f14f84d commit 79e41d8

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/StateMachine.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,6 @@ def __ExecActions(self,actions):
5050
func = getattr(mod, expression)
5151
if callable(func):
5252
func()
53-
else:
54-
func
5553
except AttributeError:
5654
logging.error("Not Found Expression %s in Context", action.expression)
5755
all_action_executed = False;
@@ -81,7 +79,6 @@ def LoadStateMachine(self):
8179
if (self.states is not None):
8280
logging.error("State Machine already loaded")
8381
else:
84-
self.xml_file
8582
self.states , self.current_state = ReadStateMachineFile(self.xml_file)
8683
logging.info('State Machine Loaded')
8784

0 commit comments

Comments
 (0)