if not e.mode in Modes:
raise Config.ReadError("Invalid mode '{0}'.".format(e.mode))
- elif opt=="timedelta":
+ elif opt=="timespan":
if name in Epoch.units:
raise Config.ReadError("The time delta of a standard epoch " + \
"is not supposed to be redefined. ")
e.unit = unit
e.mult = mult
except ValueError as e:
- raise Config.ReadError("Invalid timedelta '{0}': {1}".format(td, str(e)))
+ raise Config.ReadError("Invalid timespan '{0}': {1}".format(td, str(e)))
elif opt.startswith("exclude"):
e.excludes += [config.get(sec, opt)]
if rett != 0:
for l in errmsg.decode().split("\n"):
logfile.error(l)
- logfile.error(tarpath + " returned with exit status " + str(rett) + ".")
+ logfile.error(self.conf.tarbin + " returned with exit status " + \
+ str(rett) + ".")
def backup(self, epoch=None, mode=None):