changeset 6100:e9ef58bdad15

use difflib from stdlib
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Sep 2016 00:20:17 +0200
parents 1736bc375fc4
children 316986758258
files MoinMoin/action/LikePages.py MoinMoin/util/diff_html.py MoinMoin/util/diff_text.py
diffstat 3 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/action/LikePages.py	Tue Sep 06 00:10:11 2016 +0200
+++ b/MoinMoin/action/LikePages.py	Tue Sep 06 00:20:17 2016 +0200
@@ -12,9 +12,9 @@
 """
 
 import re
+import difflib
 
 from MoinMoin import config, wikiutil
-from MoinMoin.support import difflib
 from MoinMoin.Page import Page
 
 
--- a/MoinMoin/util/diff_html.py	Tue Sep 06 00:10:11 2016 +0200
+++ b/MoinMoin/util/diff_html.py	Tue Sep 06 00:20:17 2016 +0200
@@ -7,7 +7,8 @@
     @license: GNU GPL, see COPYING for details.
 """
 
-from MoinMoin.support import difflib
+import difflib
+
 from MoinMoin.wikiutil import escape
 
 def indent(line):
--- a/MoinMoin/util/diff_text.py	Tue Sep 06 00:10:11 2016 +0200
+++ b/MoinMoin/util/diff_text.py	Tue Sep 06 00:20:17 2016 +0200
@@ -5,7 +5,7 @@
     @copyright: 2006 MoinMoin:ThomasWaldmann
     @license: GNU GPL, see COPYING for details.
 """
-from MoinMoin.support import difflib
+import difflib
 
 def diff(oldlines, newlines, **kw):
     """