commit | 6c4325cbcfb88be5390dead16afd53ef9b12516c | [log] [tgz] |
---|---|---|
author | Zuul <zuul@review.openstack.org> | Wed Nov 29 17:57:32 2017 +0000 |
committer | Gerrit Code Review <review@openstack.org> | Wed Nov 29 17:57:32 2017 +0000 |
tree | b80a9e021b944cbcb93ac8c00a4adf64d15401e7 | |
parent | 9f0ed18238cbdaab3d4fff6869ef0da210726c50 [diff] | |
parent | 89488cabb8195730bfaa3623c323d3025fdf5fd3 [diff] |
Merge "Remove unused function toList from scheduler" into feature/zuulv3
diff --git a/zuul/scheduler.py b/zuul/scheduler.py index a725fcd..ed7d64b 100644 --- a/zuul/scheduler.py +++ b/zuul/scheduler.py
@@ -184,14 +184,6 @@ self.request_id = request.id -def toList(item): - if not item: - return [] - if isinstance(item, list): - return item - return [item] - - class Scheduler(threading.Thread): """The engine of Zuul.