hgext/convert/convcmd.py
changeset 7968 43b70a964e0d
parent 7962 62154415821f
child 8225 46293a0c7e9f
equal deleted inserted replaced
7967:c03f42159afa 7968:43b70a964e0d
   196 
   196 
   197     def readauthormap(self, authorfile):
   197     def readauthormap(self, authorfile):
   198         afile = open(authorfile, 'r')
   198         afile = open(authorfile, 'r')
   199         for line in afile:
   199         for line in afile:
   200 
   200 
   201             if line.strip() == '':
   201             line = line.strip()
       
   202             if not line or line.startswith('#'):
   202                 continue
   203                 continue
   203 
   204 
   204             try:
   205             try:
   205                 srcauthor, dstauthor = line.split('=', 1)
   206                 srcauthor, dstauthor = line.split('=', 1)
   206             except ValueError:
   207             except ValueError: