From 4417aee6f26adabc46552b53481656d9e37281b1 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sat, 4 Jul 2015 16:32:03 +0300 Subject: Cleanups suggested by pep8 --- obnamlib/structurederror.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'obnamlib/structurederror.py') diff --git a/obnamlib/structurederror.py b/obnamlib/structurederror.py index ceddbb6c..581a762e 100644 --- a/obnamlib/structurederror.py +++ b/obnamlib/structurederror.py @@ -112,7 +112,7 @@ class StructuredError(Exception): else: dedented = (textwrap.dedent(lines[0]) + textwrap.dedent(''.join(lines[1:]))) - + try: formatted_msg = dedented.format(**self.kwargs) except KeyError as e: -- cgit v1.2.1