[Pkg-privacy-commits] [onionbalance] 53/117: Fix incorrectly reading key file as bytes, introduced in a5537ee
Donncha O'Cearbahill
donncha-guest at moszumanska.debian.org
Wed Dec 16 23:18:46 UTC 2015
This is an automated email from the git hooks/post-receive script.
donncha-guest pushed a commit to branch debian/sid
in repository onionbalance.
commit 9b09733fd89617653f6c128c0ff2f532bb96c70e
Author: Donncha O'Cearbhaill <donncha at donncha.is>
Date: Fri Jun 26 10:04:46 2015 +0100
Fix incorrectly reading key file as bytes, introduced in a5537ee
---
onionbalance/util.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/onionbalance/util.py b/onionbalance/util.py
index 08bc2e0..650e364 100644
--- a/onionbalance/util.py
+++ b/onionbalance/util.py
@@ -99,7 +99,7 @@ def key_decrypt_prompt(key_file, retries=3):
"""
key_passphrase = None
- with open(key_file, 'rb') as handle:
+ with open(key_file, 'rt') as handle:
pem_key = handle.read()
for retries in range(0, retries):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/onionbalance.git
More information about the Pkg-privacy-commits
mailing list