Adding in cancel for a build that is building.

This commit is contained in:
Charlton Austin 2016-10-27 13:18:02 -04:00
parent e57eece6c1
commit fd7c566d31
7 changed files with 120 additions and 16 deletions

View file

@ -0,0 +1,8 @@
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