return correct value from ConfiguredBackup.perform

This commit is contained in:
Conor Hughes 2014-03-12 18:29:48 -07:00
parent 0e1dc9161c
commit e785224dc4
1 changed files with 3 additions and 1 deletions

View File

@ -132,8 +132,10 @@ class ConfiguredBackup(object):
"timestamp": time.time()
}
backup_name = self.backup_name.format(**info)
success = True
for backend in self.backends:
backend.perform(self.paths, backup_name)
success = success and backend.perform(self.paths, backup_name)
return success
class Config(object):