We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c061551 commit 911b916Copy full SHA for 911b916
llsd/base.py
@@ -427,8 +427,10 @@ def _reset(self, something):
427
# This catches MagicMock and other non-stream objects that might
428
# have read/seek attributes but aren't actual IO streams
429
raise LLSDParseError(
430
- f"Cannot parse LLSD from {type(something).__name__}. "
431
- "Expected bytes or a file-like object (io.IOBase subclass)."
+ "Cannot parse LLSD from {0}. "
+ "Expected bytes or a file-like object (io.IOBase subclass).".format(
432
+ type(something).__name__
433
+ )
434
)
435
436
def starts_with(self, pattern):
0 commit comments