1
0
mirror of https://github.com/quay/quay.git synced 2026-01-26 06:21:37 +03:00
Files
quay/buildman/manager/noop_canceller.py
2020-02-05 19:55:07 -08:00

14 lines
269 B
Python

class NoopCanceller(object):
"""
A class that can not cancel a build.
"""
def __init__(self, config=None):
pass
def try_cancel_build(self, uuid):
"""
Does nothing and fails to cancel build.
"""
return False