summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemko Tronçon <git@el-tramo.be>2010-04-08 18:38:26 (GMT)
committerRemko Tronçon <git@el-tramo.be>2010-04-08 19:10:23 (GMT)
commit32f38cc3b6cdfb22c04c438bda59374fb8211f01 (patch)
tree0a231ad2a72662cdb1cd3c109ef21bd245a38ae2 /BuildTools
parent4a68f4e6d17752ef036083a1b98e544eb8232b67 (diff)
downloadswift-32f38cc3b6cdfb22c04c438bda59374fb8211f01.zip
swift-32f38cc3b6cdfb22c04c438bda59374fb8211f01.tar.bz2
Fix bug in copyrighter script that handled MD5 copyright incorrectly.
Diffstat (limited to 'BuildTools')
-rwxr-xr-xBuildTools/Copyrighter.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/BuildTools/Copyrighter.py b/BuildTools/Copyrighter.py
index 0016037..56e6be9 100755
--- a/BuildTools/Copyrighter.py
+++ b/BuildTools/Copyrighter.py
@@ -61,11 +61,11 @@ def parse_file(filename) :
if re.match(get_comment_chars_re_for_filename(filename), line) != None :
copyright_text.append(line.rstrip())
continue
- elif len(line.strip()) == 0 :
- continue
else :
inCopyright = False
inEpilog = True
+ if len(line.strip()) == 0 :
+ continue
if inEpilog :
epilog += line