diff options
author | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-02-12 06:47:58 -0500 |
---|---|---|
committer | Bjoern Brandenburg <bbb@mpi-sws.org> | 2013-02-12 06:49:39 -0500 |
commit | fda846aa4edd92248e4947988e60b808c7f3109e (patch) | |
tree | 792b1e4c80d7951746ed6f52dc0d36a5325a50db | |
parent | 3472c8ececbee3198d680ec711b733472d6606f8 (diff) |
Fix typo in schedcat/sched/__init__.py:get_native_taskset()
If there is no priority point set for a Task, the GEL work triggered
an AttributeError due to a typo.
-rw-r--r-- | schedcat/sched/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/schedcat/sched/__init__.py b/schedcat/sched/__init__.py index 32656c7..0390dfb 100644 --- a/schedcat/sched/__init__.py +++ b/schedcat/sched/__init__.py | |||
@@ -13,7 +13,7 @@ try: | |||
13 | if (hasattr(t, 'pp')): | 13 | if (hasattr(t, 'pp')): |
14 | ts.add_task(t.cost, t.period, t.deadline, t.pp) | 14 | ts.add_task(t.cost, t.period, t.deadline, t.pp) |
15 | else: | 15 | else: |
16 | ts.add_tasks(t.cost, t.period, t.deadline) | 16 | ts.add_task(t.cost, t.period, t.deadline) |
17 | return ts | 17 | return ts |
18 | 18 | ||
19 | except ImportError: | 19 | except ImportError: |