diff options
Diffstat (limited to 'src/leap/mail/tests')
-rw-r--r-- | src/leap/mail/tests/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/mail/tests/__init__.py b/src/leap/mail/tests/__init__.py index b35107d..de0088f 100644 --- a/src/leap/mail/tests/__init__.py +++ b/src/leap/mail/tests/__init__.py @@ -34,7 +34,8 @@ from leap.common.testing.basetest import BaseLeapTest def _find_gpg(): gpg_path = distutils.spawn.find_executable('gpg') - return os.path.realpath(gpg_path) if gpg_path is not None else "/usr/bin/gpg" + return (os.path.realpath(gpg_path) + if gpg_path is not None else "/usr/bin/gpg") class TestCaseWithKeyManager(unittest.TestCase, BaseLeapTest): |