diff options
author | Lars Wirzenius <liw@liw.fi> | 2015-07-04 16:32:03 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2015-07-04 16:32:03 +0300 |
commit | 4417aee6f26adabc46552b53481656d9e37281b1 (patch) | |
tree | 16c671c1f1089f09142a5c17f231ab0ce17d8240 /obnamlib/structurederror.py | |
parent | 572faf19054c59bf6ecf181b448c4392b35548df (diff) | |
download | obnam-4417aee6f26adabc46552b53481656d9e37281b1.tar.gz |
Cleanups suggested by pep8
Diffstat (limited to 'obnamlib/structurederror.py')
-rw-r--r-- | obnamlib/structurederror.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |