mirror of https://github.com/tLDP/python-tldp
moving hook_build_{success,failure} to BaseDoctype
This commit is contained in:
parent
80d692efba
commit
f1bc2121a6
|
@ -52,12 +52,6 @@ class DocbookSGML(BaseDoctype, SignatureChecker):
|
||||||
|
|
||||||
buildorder = ['buildall']
|
buildorder = ['buildall']
|
||||||
|
|
||||||
def hook_build_success(self):
|
|
||||||
self.cleanup()
|
|
||||||
|
|
||||||
def hook_build_failure(self):
|
|
||||||
self.cleanup()
|
|
||||||
|
|
||||||
def chdir_output(self):
|
def chdir_output(self):
|
||||||
os.chdir(self.output.dirname)
|
os.chdir(self.output.dirname)
|
||||||
return True
|
return True
|
||||||
|
|
Loading…
Reference in New Issue