MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / get_encode_err

Function get_encode_err

tests/system_tests.py:600–606  ·  view source on GitHub ↗

Return an error message indicating that the encoding of stdin failed.

()

Source from the content-addressed store, hash-verified

598 )
599
600 def get_encode_err():
601 """ Return an error message indicating that the encoding of stdin
602 failed.
603 """
604 return "Could not encode stdin {!s} for the command {!s} with the"\
605 " following encodings: {!s}"\
606 .format(stdin, command, ','.join(self.encodings))
607
608 # Prepare stdin: try to encode it or keep it at None if it was not
609 # provided

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected