Mercurial > public > mercurial-scm > hg
diff tests/svnxml.py @ 28947:812eb3b7dc43
py3: use absolute_import in svnxml.py
author | Robert Stanca <robert.stanca7@gmail.com> |
---|---|
date | Sat, 16 Apr 2016 06:03:11 +0300 |
parents | c58bdecdb800 |
children | c17d73bf6a4d |
line wrap: on
line diff
--- a/tests/svnxml.py Sat Apr 16 05:34:21 2016 +0300 +++ b/tests/svnxml.py Sat Apr 16 06:03:11 2016 +0300 @@ -1,7 +1,9 @@ # Read the output of a "svn log --xml" command on stdin, parse it and # print a subset of attributes common to all svn versions tested by # hg. -import xml.dom.minidom, sys +from __future__ import absolute_import +import sys +import xml.dom.minidom def xmltext(e): return ''.join(c.data for c