summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Heinlein <devel@glatzor.de>2012-06-01 07:23:30 +0200
committerSebastian Heinlein <devel@glatzor.de>2012-06-01 07:23:30 +0200
commitf968fba66c7b540bb34417e9675299e283b926d1 (patch)
tree66b458d031a3e6d08b86c26a126d284a339bcde6
parent207b245b2ce5a9a04b187f5001b99093c660701d (diff)
downloadpython-apt-f968fba66c7b540bb34417e9675299e283b926d1.tar.gz
Strip exported key
-rw-r--r--apt/auth.py2
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