1
0
镜像自地址 https://github.com/tuna/tunasync.git 已同步 2025-12-08 07:26:47 +00:00
文件
tunasync/tunasync/hook.py
2015-06-13 00:14:12 +08:00

20 行
383 B
Python

#!/usr/bin/env python2
# -*- coding:utf-8 -*-
class JobHook(object):
def before_job(self, *args, **kwargs):
raise NotImplementedError("")
def after_job(self, *args, **kwargs):
raise NotImplementedError("")
def before_exec(self, *args, **kwargs):
pass
def after_exec(self, *args, **kwargs):
pass
# vim: ts=4 sw=4 sts=4 expandtab