mirror of
https://github.com/quay/quay.git
synced 2026-01-26 06:21:37 +03:00
14 lines
269 B
Python
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
|