2011-10-15 | Paul Boddie | raw files shortlog changelog graph | Removed initial space from directive values. | |
ApproveChangesSupport.py (file) |
1.1 --- a/ApproveChangesSupport.py Fri Oct 14 00:16:23 2011 +0200 1.2 +++ b/ApproveChangesSupport.py Sat Oct 15 01:45:27 2011 +0200 1.3 @@ -136,8 +136,11 @@ 1.4 1.5 directive = parts[0] 1.6 1.7 + # Obtain the value of the first instance of any directive, 1.8 + # stripping any initial space. 1.9 + 1.10 if directive in names and not found.has_key(directive): 1.11 - found[directive] = "".join(parts[1:]) 1.12 + found[directive] = "".join(parts[2:]) 1.13 continue 1.14 1.15 new_body.append(line)