Skip to content

Commit

Permalink
style: readability
Browse files Browse the repository at this point in the history
Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Jul 6, 2024
1 parent fdc2cca commit a86f882
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions serializable/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -647,9 +647,8 @@ def strip_default_namespace(s: str) -> str:
'The Property is: %s\n'
'The Value was: %s\n',
cls, prop_info, v)
raise AttributeError(
f'There was an AttributeError deserializing XML to {cls} the Property {prop_info}: {e}'
) from e
raise AttributeError('There was an AttributeError deserializing XML '
f'to {cls} the Property {prop_info}: {e}') from e

_logger.debug('Creating %s from %s', cls, _data)

Expand Down

0 comments on commit a86f882

Please sign in to comment.