diff options
Diffstat (limited to 'apt/auth.py')
| -rw-r--r-- | apt/auth.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apt/auth.py b/apt/auth.py index c52ec3a6..e088ae85 100644 --- a/apt/auth.py +++ b/apt/auth.py @@ -28,6 +28,7 @@ import atexit import os import os.path import subprocess +import sys import tempfile import apt_pkg @@ -83,6 +84,9 @@ def _call_apt_key_script(*args, **kwargs): "stdout: %s\n" "stderr: %s" % (proc.returncode, " ".join(cmd), output,stderr)) + elif stderr: + sys.stderr.write(stderr) # Forward stderr + return output.strip() finally: if conf is not None: |
