diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-01-17 15:37:00 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2014-01-17 15:37:00 -0300 |
commit | da9191e700895811b657a19148d1d3852e79d157 (patch) | |
tree | 3994066c293eecc6732f914ab93c4ef7db9353a5 /keymanager | |
parent | 92c14ffdbcec74cb6c602fc82633a99e9b8bde40 (diff) |
Remove unused imports, fix typo.
Diffstat (limited to 'keymanager')
-rw-r--r-- | keymanager/src/leap/keymanager/openpgp.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/keymanager/src/leap/keymanager/openpgp.py b/keymanager/src/leap/keymanager/openpgp.py index 961e1ed..950d022 100644 --- a/keymanager/src/leap/keymanager/openpgp.py +++ b/keymanager/src/leap/keymanager/openpgp.py @@ -17,12 +17,10 @@ """ Infrastructure for using OpenPGP keys in Key Manager. """ -import locale import logging import os import re import shutil -import sys import tempfile from contextlib import closing @@ -522,7 +520,7 @@ class OpenPGPScheme(EncryptionScheme): return result.data except errors.GPGError as e: logger.error('Failed to decrypt: %s.' % str(e)) - raise error.EncryptError() + raise errors.EncryptError() def decrypt(self, data, privkey, passphrase=None, verify=None): """ |