Revize 7d0aa304
Přidáno uživatelem Stanislav Král před asi 4 roky(ů)
proj/services/cryptography.py | ||
---|---|---|
57 | 57 |
|
58 | 58 |
if proc.returncode != 0: |
59 | 59 |
# if the process did not result in zero result code, then raise an exception |
60 |
if err is not None: |
|
60 |
if err is not None and len(err) > 0:
|
|
61 | 61 |
raise CryptographyException(executable, args, err.decode()) |
62 | 62 |
else: |
63 | 63 |
raise CryptographyException(executable, args, |
Také k dispozici: Unified diff
Re #8472 - Added few unit tests that perform further testing of _run_for_output method