Ken, I will check where this can be an issue and will adapt.
I also added lock release at the bottom of the duplicity.py after the following :
__name__ == "__main__":
try: with_tempdir(main)
# Don't move this lower. In order to get an exit
# status out of the system, you have to call the
# sys.exit() function. Python handles this by
# raising the SystemExit exception. Cleanup code
# goes here, if needed.
except SystemExit, e:
# No traceback, just get out
My take is that it needs to be done for every except section.
Ken, I will check where this can be an issue and will adapt.
I also added lock release at the bottom of the duplicity.py after the following :
__name__ == "__main__":
with_tempdir( main)
try:
# Don't move this lower. In order to get an exit
# status out of the system, you have to call the
# sys.exit() function. Python handles this by
# raising the SystemExit exception. Cleanup code
# goes here, if needed.
except SystemExit, e:
# No traceback, just get out
My take is that it needs to be done for every except section.
I'll do my best to propose a MP soon.
Thanks for your insight