aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-06-18 02:42:19 +0200
committerMattias Andrée <maandree@operamail.com>2014-06-18 02:42:19 +0200
commit5ac3aecd30e7effd928084d7c21e0aace6019f9b (patch)
tree5cc58fb77be5c9f3bf013676d8ca4d44bece62b0
parentsimple implementation of cut, so there is not dependency on GNU's cut (diff)
downloadlibgamma-5ac3aecd30e7effd928084d7c21e0aace6019f9b.tar.gz
libgamma-5ac3aecd30e7effd928084d7c21e0aace6019f9b.tar.bz2
libgamma-5ac3aecd30e7effd928084d7c21e0aace6019f9b.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-xsrc/extract/libgamma-error-extract2
-rwxr-xr-xsrc/extract/libgamma-method-extract2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/extract/libgamma-error-extract b/src/extract/libgamma-error-extract
index a6c2d63..e237fb8 100755
--- a/src/extract/libgamma-error-extract
+++ b/src/extract/libgamma-error-extract
@@ -22,7 +22,7 @@ import os
with open(os.path.dirname(sys.argv[0]) + '/../lib/libgamma-error.h', 'rb') as file:
data = file.read()
-data = data.decode('utf-8', 'error')
+data = data.decode('utf-8')
if sys.argv[1] == '--list':
defs = [line for line in data.split('\n') if line.startswith('#define') and not line.endswith('_H')]
diff --git a/src/extract/libgamma-method-extract b/src/extract/libgamma-method-extract
index 8ab2750..77c3a03 100755
--- a/src/extract/libgamma-method-extract
+++ b/src/extract/libgamma-method-extract
@@ -22,7 +22,7 @@ import os
with open(os.path.dirname(sys.argv[0]) + '/../lib/libgamma-method.h', 'rb') as file:
data = file.read()
-data = data.decode('utf-8', 'error')
+data = data.decode('utf-8')
def list_define(prefix, *blacklist):