##// END OF EJS Templates
convert: handle comments starting with '#' in authormap files
Marti Raudsepp -
r7968:43b70a96 default
parent child Browse files
Show More
@@ -198,7 +198,8 b' class converter(object):'
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:
@@ -16,6 +16,7 b' cd ..'
16 cat > authormap.txt <<EOF
16 cat > authormap.txt <<EOF
17 user name = Long User Name
17 user name = Long User Name
18
18
19 # comment
19 this line is ignored
20 this line is ignored
20 EOF
21 EOF
21
22
General Comments 0
You need to be logged in to leave comments. Login now