summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2009-01-10 01:56:46 +0100
committerGuillaume Seguin <guillaume@segu.in>2009-01-10 01:56:46 +0100
commit5f0bf9e6e61e008182eae786578f8d751f125cad (patch)
tree8c7155bd6a3946ea7888443389cfb3e870b53187
parent2f8d9dd471b38e585955a6d5b040e4664af03503 (diff)
downloadsysdigit-5f0bf9e6e61e008182eae786578f8d751f125cad.tar.gz
sysdigit-5f0bf9e6e61e008182eae786578f8d751f125cad.tar.bz2
[circuitframework] Fix typo
-rw-r--r--logiccircuitframework/components.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/logiccircuitframework/components.py b/logiccircuitframework/components.py
index 9f6cbcd..e80b454 100644
--- a/logiccircuitframework/components.py
+++ b/logiccircuitframework/components.py
@@ -101,7 +101,7 @@ class Component(object):
def _get_first_available_output(self):
used_outputs = [link.output_id for link in self.child_links]
r = range(1, self.outputs + 1)
- free_inputs = [i for i in r if i not in used_outputs]
+ free_outputs = [i for i in r if i not in used_outputs]
if not free_outputs:
return 1
return free_outputs[0]