#18803: fix more typos. Patch by Févry Thibault.

This commit is contained in:
Ezio Melotti 2013-08-26 01:32:56 +03:00
parent bf8ab77f94
commit 7c4a7e6f3c
17 changed files with 20 additions and 20 deletions

View file

@ -2,7 +2,7 @@
"""(Ostensibly) fix copyright notices in files.
Actually, this sript will simply replace a block of text in a file from one
Actually, this script will simply replace a block of text in a file from one
string to another. It will only do this once though, i.e. not globally
throughout the file. It writes a backup file and then does an os.rename()
dance for atomicity.

View file

@ -9,11 +9,11 @@
# options. On standard output it writes a copy of the input file(s)
# minus those code sections that are suppressed by the selected
# combination of defined/undefined symbols. The #if(n)def/#else/#else
# lines themselfs (if the #if(n)def tests for one of the mentioned
# lines themselves (if the #if(n)def tests for one of the mentioned
# names) are removed as well.
# Features: Arbitrary nesting of recognized and unrecognized
# preprocesor statements works correctly. Unrecognized #if* commands
# preprocessor statements works correctly. Unrecognized #if* commands
# are left in place, so it will never remove too much, only too
# little. It does accept whitespace around the '#' character.

View file

@ -151,7 +151,7 @@ def fix(filename):
except os.error as msg:
err('%s: reset of timestamp failed (%r)\n' % (filename, msg))
return 1
# Return succes
# Return success
return 0
def fixline(line):