diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-06-18 02:42:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-06-18 02:42:19 +0200 |
commit | 5ac3aecd30e7effd928084d7c21e0aace6019f9b (patch) | |
tree | 5cc58fb77be5c9f3bf013676d8ca4d44bece62b0 | |
parent | simple implementation of cut, so there is not dependency on GNU's cut (diff) | |
download | libgamma-5ac3aecd30e7effd928084d7c21e0aace6019f9b.tar.gz libgamma-5ac3aecd30e7effd928084d7c21e0aace6019f9b.tar.bz2 libgamma-5ac3aecd30e7effd928084d7c21e0aace6019f9b.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rwxr-xr-x | src/extract/libgamma-error-extract | 2 | ||||
-rwxr-xr-x | src/extract/libgamma-method-extract | 2 |
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): |