diff options
Diffstat (limited to 'lang/python/tests/support.py')
| -rw-r--r-- | lang/python/tests/support.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lang/python/tests/support.py b/lang/python/tests/support.py index a57d5816..99d96cf6 100644 --- a/lang/python/tests/support.py +++ b/lang/python/tests/support.py @@ -26,7 +26,8 @@ def init_gpgme(proto):      core.check_version()      core.engine_check_version(proto) +verbose = int(os.environ.get('verbose', 0)) > 1  def print_data(data): -    if int(os.environ.get('verbose', 0)) > 1: +    if verbose:          data.seek(0, os.SEEK_SET)          sys.stdout.buffer.write(data.read()) | 
