From d84347ecb4d4e8d5bba4a91d339fec113d52ee6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20Mi=C4=85sko?= Date: Sun, 9 Dec 2018 00:00:00 +0000 Subject: Drop deprecated and redundant universal newline mode --- misc/update-gtkdoc-tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc') 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 = [] -- cgit v1.2.1