diff options
Diffstat (limited to 'misc/update-gtkdoc-tests.py')
-rw-r--r-- | misc/update-gtkdoc-tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/update-gtkdoc-tests.py b/misc/update-gtkdoc-tests.py index 22098430..566d6ac0 100644 --- a/misc/update-gtkdoc-tests.py +++ b/misc/update-gtkdoc-tests.py @@ -191,7 +191,7 @@ if __name__ == '__main__': writer = GtkDocCommentBlockWriter(indent=True) logger.enable_warnings((ERROR, FATAL)) - with io.open(path, 'rU') as f: + with io.open(path, 'r') as f: lines = f.readlines() chunks = [] |