diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-11 23:49:21 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-11 23:49:21 +0100 |
commit | 971aaada27d0385c35a2e3c2e8b5edad9a901e16 (patch) | |
tree | dd03d225c8522dcb07b0e319cf2b9b455d51a250 /plugins | |
parent | 2e322cf221e90da9b9ba4f42eb290fd8dc36fee4 (diff) | |
download | poezio-971aaada27d0385c35a2e3c2e8b5edad9a901e16.tar.gz poezio-971aaada27d0385c35a2e3c2e8b5edad9a901e16.tar.bz2 poezio-971aaada27d0385c35a2e3c2e8b5edad9a901e16.tar.xz poezio-971aaada27d0385c35a2e3c2e8b5edad9a901e16.zip |
Fix an issue with python3.2 (byte vs string) in gnupg module.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gpg/gnupg.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/gpg/gnupg.py b/plugins/gpg/gnupg.py index e3bed526..e9e45711 100644 --- a/plugins/gpg/gnupg.py +++ b/plugins/gpg/gnupg.py @@ -204,6 +204,8 @@ class GPG(object): lines = [] while True: line = stream.readline() + if not isinstance(line, str): + line = line.decode('utf-8') lines.append(line) if self.verbose: print(line) |