Revision 6abf7f2c lib/jqueue.py
b/lib/jqueue.py | ||
---|---|---|
1026 | 1026 |
def SetDrainFlag(drain_flag): |
1027 | 1027 |
"""Sets the drain flag for the queue. |
1028 | 1028 |
|
1029 |
This is similar to the function L{backend.JobQueueSetDrainFlag}, |
|
1030 |
and in the future we might merge them. |
|
1031 |
|
|
1032 | 1029 |
@type drain_flag: boolean |
1033 | 1030 |
@param drain_flag: Whether to set or unset the drain flag |
1034 | 1031 |
|
Also available in: Unified diff