diff --git a/Examples/Python/python/acts/_adapter.py b/Examples/Python/python/acts/_adapter.py index ad2f256a8d1..112fbf7f631 100644 --- a/Examples/Python/python/acts/_adapter.py +++ b/Examples/Python/python/acts/_adapter.py @@ -31,7 +31,9 @@ def wrapped(self, *args, **kwargs): try: setattr(cfg, k, v) except TypeError as e: - raise RuntimeError("{}: Failed to set {}={}".format(type(cfg), k, v)) from e + raise RuntimeError( + "{}: Failed to set {}={}".format(type(cfg), k, v) + ) from e else: _kwargs[k] = v try: