Project
charmhelpers.core.decorators.
retry_on_exception
If the decorated function raises exception exc_type, allow num_retries retry attempts before raise the exception.