Following the restructuring of Barman code (yield), retention policies management throws this error:
See log file for more details.
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/barman/cli.py", line 683, in main
p.dispatch(pre_call=global_config)
File "/usr/lib/python2.6/site-packages/argh/helpers.py", line 47, in dispatch
return dispatch(self, args, *kwargs)
File "/usr/lib/python2.6/site-packages/argh/dispatching.py", line 121, in dispatch
for line in lines:
File "/usr/lib/python2.6/site-packages/argh/dispatching.py", line 197, in _execute_command
for line in result:
File "/usr/lib/python2.6/site-packages/argh/dispatching.py", line 153, in _call
result = args.function(args)
File "/usr/lib/python2.6/site-packages/barman/cli.py", line 170, in backup
server.backup()
File "/usr/lib/python2.6/site-packages/barman/server.py", line 788, in backup
self.cron(verbose=False)
File "/usr/lib/python2.6/site-packages/barman/server.py", line 1036, in cron
self.backup_manager.cron_retention_policy()
File "/usr/lib/python2.6/site-packages/barman/backup.py", line 759, in cron_retention_policy
for line in self.delete_backup(available_backups[bid]):
TypeError: 'NoneType' object is not iterable
Commit: [f4f398f8cdeb9fb300f26a71734533499d552386]
Related
Commit: [f4f398]
Last edit: Gabriele Bartolini 2014-12-17