def __init__(self, path): msg = 'The directory %s is in the way, please remove' % \ os.path.abspath(path) ReviewError.__init__(self, msg, 2) self.show_logs = False
def __init__(self): ReviewError.__init__(self, 'The resultdir is not empty, I cannot handle this')