diff options
author | bill-auger <mr.j.spam.me@gmail.com> | 2020-07-09 21:50:27 -0400 |
---|---|---|
committer | bill-auger <mr.j.spam.me@gmail.com> | 2020-07-10 00:18:22 -0400 |
commit | d8d414c66f4dd069a31eb1aa34443a7fb59215c7 (patch) | |
tree | 03948eec7c52280e4d1ce0a726a19e38d78e491b /pcr-testing/anki-ccbc/pyqt4topyqt5-binary-to-utf.patch | |
parent | 8d137041af258e45c0bfb4a409c2c43a180fb2c9 (diff) | |
download | abslibre-d8d414c66f4dd069a31eb1aa34443a7fb59215c7.tar.gz abslibre-d8d414c66f4dd069a31eb1aa34443a7fb59215c7.tar.bz2 abslibre-d8d414c66f4dd069a31eb1aa34443a7fb59215c7.zip |
[anki-ccbc]: add package
Diffstat (limited to 'pcr-testing/anki-ccbc/pyqt4topyqt5-binary-to-utf.patch')
-rw-r--r-- | pcr-testing/anki-ccbc/pyqt4topyqt5-binary-to-utf.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pcr-testing/anki-ccbc/pyqt4topyqt5-binary-to-utf.patch b/pcr-testing/anki-ccbc/pyqt4topyqt5-binary-to-utf.patch new file mode 100644 index 000000000..98d26c00c --- /dev/null +++ b/pcr-testing/anki-ccbc/pyqt4topyqt5-binary-to-utf.patch @@ -0,0 +1,11 @@ +--- pyqt4topyqt5.py 2017-05-03 12:55:07.000000000 -0400 ++++ pyqt4topyqt5.py 2020-07-08 23:28:51.149813392 -0400 +@@ -2737,7 +2737,7 @@ + cmd = ['diff', '-u', orig, dest] + with open(diffname, 'a') as outf: + reply = subprocess.Popen(cmd, stdout=subprocess.PIPE) +- outf.write(str(reply.communicate()[0])) ++ outf.write(reply.communicate()[0].decode('utf-8')) + + def print_(self, msg): + if self.log: |