File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,7 @@ def from_structured(
228228 structure = envelope_unmarshaller (message .value )
229229 except Exception as e :
230230 raise cloud_exceptions .DataUnmarshallerError (
231- "Failed to unmarshall message with error: " f" { type (e ).__name__ } ('{ e } ')"
231+ f "Failed to unmarshall message with error: { type (e ).__name__ } ('{ e } ')"
232232 )
233233
234234 attributes : typing .Dict [str , typing .Any ] = {}
@@ -247,7 +247,7 @@ def from_structured(
247247 decoded_value = value
248248 except Exception as e :
249249 raise cloud_exceptions .DataUnmarshallerError (
250- "Failed to unmarshall data with error: " f" { type (e ).__name__ } ('{ e } ')"
250+ f "Failed to unmarshall data with error: { type (e ).__name__ } ('{ e } ')"
251251 )
252252 if name == "data" :
253253 data = decoded_value
Original file line number Diff line number Diff line change @@ -245,8 +245,7 @@ def UnmarshalJSON(
245245 decoded_value = value
246246 except Exception as e :
247247 raise cloud_exceptions .DataUnmarshallerError (
248- "Failed to unmarshall data with error: "
249- f"{ type (e ).__name__ } ('{ e } ')"
248+ f"Failed to unmarshall data with error: { type (e ).__name__ } ('{ e } ')"
250249 )
251250 self .Set (name , decoded_value )
252251
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ def __init__(self, converter_type):
3636class UnsupportedEventConverter (Exception ):
3737 def __init__ (self , content_type ):
3838 super ().__init__ (
39- "Unable to identify valid event converter "
40- "for content-type: '{0}'" .format (content_type )
39+ "Unable to identify valid event converter for content-type: '{0}'" .format (
40+ content_type
41+ )
4142 )
You can’t perform that action at this time.
0 commit comments