comparison hgext/convert/cvsps.py @ 29205:a0939666b836

py3: move up symbol imports to enforce import-checker rules Since (b) is banned, we should do the same for (a) for consistency. a) from mercurial import hg from mercurial.i18n import _ b) from . import hg from .i18n import _
author Yuya Nishihara <yuya@tcha.org>
date Sat, 14 May 2016 14:03:12 +0900
parents 71176606fa0a
children b501579147f1
comparison
equal deleted inserted replaced
29204:ce2d81aafbae 29205:a0939666b836
8 8
9 import cPickle as pickle 9 import cPickle as pickle
10 import os 10 import os
11 import re 11 import re
12 12
13 from mercurial.i18n import _
13 from mercurial import ( 14 from mercurial import (
14 hook, 15 hook,
15 util, 16 util,
16 ) 17 )
17 from mercurial.i18n import _
18 18
19 class logentry(object): 19 class logentry(object):
20 '''Class logentry has the following attributes: 20 '''Class logentry has the following attributes:
21 .author - author name as CVS knows it 21 .author - author name as CVS knows it
22 .branch - name of branch this revision is on 22 .branch - name of branch this revision is on