aboutsummaryrefslogtreecommitdiff
path: root/behaviors/VerticalBar.py
diff options
context:
space:
mode:
Diffstat (limited to 'behaviors/VerticalBar.py')
-rw-r--r--behaviors/VerticalBar.py11
1 files changed, 2 insertions, 9 deletions
diff --git a/behaviors/VerticalBar.py b/behaviors/VerticalBar.py
index e1a67fe..66c8e56 100644
--- a/behaviors/VerticalBar.py
+++ b/behaviors/VerticalBar.py
@@ -2,11 +2,11 @@ from operationscore.Behavior import *
class VerticalBar(Behavior):
def processResponse(self, inputs, recurs):
-
ret = []
+ inputs = list(inputs)
for inputset in inputs:
#import pdb; pdb.set_trace()
-
+ inputset = dict(inputset)
if 'xLoc' not in inputset:
inputset['xLoc'] = inputset['Location'][0]
xLoc = inputset['xLoc']
@@ -19,12 +19,5 @@ class VerticalBar(Behavior):
inputset['Location'] = condition
ret.append(inputset)
-
return (ret, [])
- def setLastOutput(self, output):
-
- coutput = Behavior.deepCopyPacket(output)
- for data in coutput:
- data['Location'] = data['xLoc']
- return coutput