diff options
author | Chris Larson <chris_larson@mentor.com> | 2010-03-24 17:48:49 -0700 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-03-25 17:25:56 +0000 |
commit | 6028daedcb2e3eeab8bb7c725de4303b03625ed8 (patch) | |
tree | 0b0f74bb6767b6853bef46424882b3b7fc2aafc9 /bitbake/lib/bb/taskdata.py | |
parent | c6940a97958be1d9981a3b5fb3ae27f74414e57f (diff) | |
download | poky-6028daedcb2e3eeab8bb7c725de4303b03625ed8.tar.gz |
Fix 7 references to undefined variables, as spotted by pyflakes
(Bitbake rev: e1e4ccf203e38070eeafd31a622671996cff61a1)
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib/bb/taskdata.py')
-rw-r--r-- | bitbake/lib/bb/taskdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/taskdata.py b/bitbake/lib/bb/taskdata.py index 841d243e54..3e5e006f5f 100644 --- a/bitbake/lib/bb/taskdata.py +++ b/bitbake/lib/bb/taskdata.py | |||
@@ -174,7 +174,7 @@ class TaskData: | |||
174 | for dep in task_deps['depends'][task].split(): | 174 | for dep in task_deps['depends'][task].split(): |
175 | if dep: | 175 | if dep: |
176 | if ":" not in dep: | 176 | if ":" not in dep: |
177 | bb.msg.fatal(bb.msg.domain.TaskData, "Error, dependency %s does not contain ':' character\n. Task 'depends' should be specified in the form 'packagename:task'" % (depend, fn)) | 177 | bb.msg.fatal(bb.msg.domain.TaskData, "Error, dependency %s does not contain ':' character\n. Task 'depends' should be specified in the form 'packagename:task'" % (dep, fn)) |
178 | ids.append(((self.getbuild_id(dep.split(":")[0])), dep.split(":")[1])) | 178 | ids.append(((self.getbuild_id(dep.split(":")[0])), dep.split(":")[1])) |
179 | self.tasks_idepends[taskid].extend(ids) | 179 | self.tasks_idepends[taskid].extend(ids) |
180 | 180 | ||