diff options
| author | Sebastian Heinlein <devel@glatzor.de> | 2012-06-01 07:23:30 +0200 |
|---|---|---|
| committer | Sebastian Heinlein <devel@glatzor.de> | 2012-06-01 07:23:30 +0200 |
| commit | f968fba66c7b540bb34417e9675299e283b926d1 (patch) | |
| tree | 66b458d031a3e6d08b86c26a126d284a339bcde6 | |
| parent | 207b245b2ce5a9a04b187f5001b99093c660701d (diff) | |
| download | python-apt-f968fba66c7b540bb34417e9675299e283b926d1.tar.gz | |
Strip exported key
| -rw-r--r-- | apt/auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt/auth.py b/apt/auth.py index 1d018f8b..8663a043 100644 --- a/apt/auth.py +++ b/apt/auth.py @@ -194,7 +194,7 @@ def export_key(fingerprint, wait=True): universal_newlines=True) if wait: _wait_and_raise(proc) - return proc.stdout.read() + return proc.stdout.read().strip() else: return proc |
