Island: Remove extra ')' from strings

This commit is contained in:
Mike Salvatore 2022-07-13 06:07:08 -04:00
parent fe7188798f
commit a9799de1ba
1 changed files with 2 additions and 2 deletions

View File

@ -60,12 +60,12 @@ class RepositoryEncryptor(ILockableEncryptor):
def encrypt(self, plaintext: bytes) -> bytes:
if self._key_based_encryptor is None:
raise LockedKeyError("Cannot encrypt while the encryptor is locked)")
raise LockedKeyError("Cannot encrypt while the encryptor is locked")
return self._key_based_encryptor.encrypt(plaintext)
def decrypt(self, ciphertext: bytes) -> bytes:
if self._key_based_encryptor is None:
raise LockedKeyError("Cannot decrypt while the encryptor is locked)")
raise LockedKeyError("Cannot decrypt while the encryptor is locked")
return self._key_based_encryptor.decrypt(ciphertext)