equal
deleted
inserted
replaced
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: |