File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -725,8 +725,8 @@ def __init__(self, file):
725725 Raises:
726726 TypeError: If the file object doesn't implement all required methods
727727 """
728- # Initialize _closed first to prevent AttributeError during garbage
729- # collection
728+ # Initialize _closed first to prevent AttributeError
729+ # during garbage collection
730730 self ._closed = False
731731 self ._initialized = False
732732 self ._stream = None
@@ -1301,7 +1301,7 @@ def from_info(cls, signer_info: C2paSignerInfo) -> 'Signer':
13011301 if error :
13021302 # More detailed error message when possible
13031303 raise C2paError (error )
1304- raise C2paError ("Failed to create signer from info " )
1304+ raise C2paError ("Failed to create signer from configured signer_info " )
13051305
13061306 return cls (signer_ptr )
13071307
@@ -1855,8 +1855,8 @@ def _sign_internal(
18551855 # empty bytes
18561856 manifest_bytes = b""
18571857 finally :
1858- # Always free the C-allocated memory, even if we failed to
1859- # copy it
1858+ # Always free the C-allocated memory,
1859+ # even if we failed to copy manifest bytes
18601860 try :
18611861 _lib .c2pa_manifest_bytes_free (manifest_bytes_ptr )
18621862 except Exception :
You can’t perform that action at this time.
0 commit comments